diff --git a/src/core/re3.cpp b/src/core/re3.cpp index a721c238..02ed39ca 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -474,13 +474,13 @@ bool LoadINISettings() if (!ini.read(cfg)) return false; -#ifdef IMPROVED_VIDEOMODE +#if defined(IMPROVED_VIDEOMODE) && !defined(__SWITCH__) ReadIniIfExists("VideoMode", "Width", &FrontEndMenuManager.m_nPrefsWidth); ReadIniIfExists("VideoMode", "Height", &FrontEndMenuManager.m_nPrefsHeight); ReadIniIfExists("VideoMode", "Depth", &FrontEndMenuManager.m_nPrefsDepth); ReadIniIfExists("VideoMode", "Subsystem", &FrontEndMenuManager.m_nPrefsSubsystem); // Windowed mode is loaded below in CUSTOM_FRONTEND_OPTIONS section -#else +#elif !defined(__SWITCH__) ReadIniIfExists("Graphics", "VideoMode", &FrontEndMenuManager.m_nDisplayVideoMode); #endif ReadIniIfExists("Controller", "HeadBob1stPerson", &TheCamera.m_bHeadBob);