Fix dock mode by Switch
This commit is contained in:
+2
-2
@@ -474,13 +474,13 @@ bool LoadINISettings()
|
|||||||
if (!ini.read(cfg))
|
if (!ini.read(cfg))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
#ifdef IMPROVED_VIDEOMODE
|
#if defined(IMPROVED_VIDEOMODE) && !defined(__SWITCH__)
|
||||||
ReadIniIfExists("VideoMode", "Width", &FrontEndMenuManager.m_nPrefsWidth);
|
ReadIniIfExists("VideoMode", "Width", &FrontEndMenuManager.m_nPrefsWidth);
|
||||||
ReadIniIfExists("VideoMode", "Height", &FrontEndMenuManager.m_nPrefsHeight);
|
ReadIniIfExists("VideoMode", "Height", &FrontEndMenuManager.m_nPrefsHeight);
|
||||||
ReadIniIfExists("VideoMode", "Depth", &FrontEndMenuManager.m_nPrefsDepth);
|
ReadIniIfExists("VideoMode", "Depth", &FrontEndMenuManager.m_nPrefsDepth);
|
||||||
ReadIniIfExists("VideoMode", "Subsystem", &FrontEndMenuManager.m_nPrefsSubsystem);
|
ReadIniIfExists("VideoMode", "Subsystem", &FrontEndMenuManager.m_nPrefsSubsystem);
|
||||||
// Windowed mode is loaded below in CUSTOM_FRONTEND_OPTIONS section
|
// Windowed mode is loaded below in CUSTOM_FRONTEND_OPTIONS section
|
||||||
#else
|
#elif !defined(__SWITCH__)
|
||||||
ReadIniIfExists("Graphics", "VideoMode", &FrontEndMenuManager.m_nDisplayVideoMode);
|
ReadIniIfExists("Graphics", "VideoMode", &FrontEndMenuManager.m_nDisplayVideoMode);
|
||||||
#endif
|
#endif
|
||||||
ReadIniIfExists("Controller", "HeadBob1stPerson", &TheCamera.m_bHeadBob);
|
ReadIniIfExists("Controller", "HeadBob1stPerson", &TheCamera.m_bHeadBob);
|
||||||
|
|||||||
Reference in New Issue
Block a user