diff options
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 64e1d8de06..41871df870 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -318,6 +318,8 @@ struct System::Impl { const bool switch2_program = virtual_filesystem != nullptr && IsSwitch2Program(GetGameFileFromPath(virtual_filesystem, filepath)); + Settings::SetCurrentProgramIsSwitch2(switch2_program); + Settings::SetAstcRecompressionOverride(std::nullopt); // Switch 2 titles size their heap from the total memory and need the 12 GiB layout. Set it // as a per-game value, so RestoreGlobalState brings back the configured layout afterwards. @@ -1059,6 +1061,8 @@ void System::ApplySettings() { if (IsPoweredOn()) { Renderer().RefreshBaseSettings(); + // Frontends switch docked/handheld through the settings; let the running game know. + GetAppletManager().OperationModeChanged(); } } |
