mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Config: Move the 'Display' settings from ConfigManager to the layered config system
This commit is contained in:
parent
735a705e4d
commit
840afc2ad4
15 changed files with 83 additions and 100 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue