mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
Hotkeys: Fix power off hotkey in achievements hardcore mode
This commit is contained in:
@@ -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);
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user