aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/video_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/video_core.h')
-rw-r--r--src/video_core/video_core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/video_core.h b/src/video_core/video_core.h
index f885bec2..3f24df7b 100644
--- a/src/video_core/video_core.h
+++ b/src/video_core/video_core.h
@@ -8,6 +8,8 @@
#include "renderer_base.h"
+#include <atomic>
+
////////////////////////////////////////////////////////////////////////////////////////////////////
// Video Core namespace
@@ -31,6 +33,9 @@ static const int kScreenBottomHeight = 240; ///< 3DS bottom screen height
extern RendererBase* g_renderer; ///< Renderer plugin
extern EmuWindow* g_emu_window; ///< Emu window
+// TODO: Wrap this in a user settings struct along with any other graphics settings (often set from qt ui)
+extern std::atomic<bool> g_hw_renderer_enabled;
+
/// Start the video core
void Start();