Fix dock mode by Switch

This commit is contained in:
Dima353
2025-02-10 23:07:37 +03:00
parent 310dd86371
commit 823b2cea5c
+2 -2
View File
@@ -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);