Hotkeys: Fix power off hotkey in achievements hardcore mode

This commit is contained in:
Stenzek
2026-01-15 23:32:09 +10:00
parent 80993e9880
commit a108fcf2b2

View File

@@ -169,7 +169,7 @@ DEFINE_HOTKEY("ToggleTurbo", TRANSLATE_NOOP("Hotkeys", "System"), TRANSLATE_NOOP
DEFINE_NON_ANDROID_HOTKEY("PowerOff", TRANSLATE_NOOP("Hotkeys", "System"),
TRANSLATE_NOOP("Hotkeys", "Power Off System"), [](s32 pressed) {
if (!pressed && System::CanPauseSystem(true))
if (!pressed)
Host::RequestSystemShutdown(true, g_settings.save_state_on_exit, true);
})