summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Host.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt/Host.cpp')
-rw-r--r--Source/Core/DolphinQt/Host.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Host.cpp b/Source/Core/DolphinQt/Host.cpp
index 2cf602495d..be0c8744b4 100644
--- a/Source/Core/DolphinQt/Host.cpp
+++ b/Source/Core/DolphinQt/Host.cpp
@@ -12,6 +12,7 @@
#include "Common/Common.h"
+#include "Core/Config/MainSettings.h"
#include "Core/ConfigManager.h"
#include "Core/Core.h"
#include "Core/Debugger/PPCDebugInterface.h"
@@ -58,7 +59,7 @@ void Host::SetRenderFocus(bool focus)
m_render_focus = focus;
if (g_renderer && m_render_fullscreen && g_ActiveConfig.ExclusiveFullscreenEnabled())
Core::RunAsCPUThread([focus] {
- if (!SConfig::GetInstance().bRenderToMain)
+ if (!Config::Get(Config::MAIN_RENDER_TO_MAIN))
g_renderer->SetFullscreen(focus);
});
}