From 6b2d2e35e4aaa6cd432f497d1c8c9838199e17e0 Mon Sep 17 00:00:00 2001 From: adas20 Date: Fri, 27 Jun 2025 12:29:11 -0400 Subject: [PATCH] Made Gamemode a non dynamic setting again after thinking about Steam impl. Gamemode Works on normal emulator launch and with custom configs. --- rpcs3/Emu/System.cpp | 5 +++++ rpcs3/Emu/system_config.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index ba77d11a17..fb0667c468 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -2478,6 +2478,11 @@ void Emulator::Run(bool start_playtime) { Emu.GetCallbacks().enable_display_sleep(false); } + + if (g_cfg.misc.enable_gamemode) + { + Emu.GetCallbacks().enable_gamemode(true); + } } void Emulator::RunPPU() diff --git a/rpcs3/Emu/system_config.h b/rpcs3/Emu/system_config.h index 066f3f5798..2b35e70cb9 100644 --- a/rpcs3/Emu/system_config.h +++ b/rpcs3/Emu/system_config.h @@ -358,7 +358,7 @@ struct cfg_root : cfg::node cfg::_bool silence_all_logs{ this, "Silence All Logs", false, true }; cfg::string title_format{ this, "Window Title Format", "FPS: %F | %R | %V | %T [%t]", true }; cfg::_bool pause_during_home_menu{this, "Pause Emulation During Home Menu", false, false }; - cfg::_bool enable_gamemode{ this, "Enable GameMode", false, true }; + cfg::_bool enable_gamemode{ this, "Enable GameMode", false, false }; } misc{ this };