video_core.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "common/common.h"
  6. #include "common/emu_window.h"
  7. #include "renderer_base.h"
  8. ////////////////////////////////////////////////////////////////////////////////////////////////////
  9. // Video Core namespace
  10. namespace VideoCore {
  11. // 3DS Video Constants
  12. // -------------------
  13. static const int kScreenTopWidth = 400; ///< 3DS top screen width
  14. static const int kScreenTopHeight = 240; ///< 3DS top screen height
  15. static const int kScreenBottomWidth = 320; ///< 3DS bottom screen width
  16. static const int kScreenBottomHeight = 240; ///< 3DS bottom screen height
  17. // Video core renderer
  18. // ---------------------
  19. extern RendererBase* g_renderer; ///< Renderer plugin
  20. extern int g_current_frame; ///< Current frame
  21. /// Start the video core
  22. void Start();
  23. /// Initialize the video core
  24. void Init(EmuWindow* emu_window);
  25. /// Shutdown the video core
  26. void Shutdown();
  27. } // namespace