From 823b2cea5cba78279f8689531320c541e084ce86 Mon Sep 17 00:00:00 2001 From: Dima353 <75039669+Dima353@users.noreply.github.com> Date: Mon, 10 Feb 2025 23:07:37 +0300 Subject: [PATCH] Fix dock mode by Switch --- src/core/re3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);