Flipped the order of "SaveStateAndSelectNextSlot" to "SelectNextSlotAndSaveState"

This commit is contained in:
smasimar@gmail.com 2024-09-05 20:07:36 +02:00 committed by Ty
parent 6dbbebeafb
commit 22c9b70ca3
1 changed files with 3 additions and 3 deletions

View File

@ -239,12 +239,12 @@ DEFINE_HOTKEY("LoadStateFromSlot", TRANSLATE_NOOP("Hotkeys", "Save States"),
if (!pressed && VMManager::HasValidVM())
SaveStateSelectorUI::LoadCurrentSlot();
})
DEFINE_HOTKEY("SaveStateAndSelectNextSlot", TRANSLATE_NOOP("Hotkeys", "Save States"),
TRANSLATE_NOOP("Hotkeys", "Save State and Select Next Slot"), [](s32 pressed) {
DEFINE_HOTKEY("SelectNextSlotAndSaveState", TRANSLATE_NOOP("Hotkeys", "Save States"),
TRANSLATE_NOOP("Hotkeys", "Select Next Slot and Save State"), [](s32 pressed) {
if (!pressed && VMManager::HasValidVM())
{
SaveStateSelectorUI::SaveCurrentSlot();
SaveStateSelectorUI::SelectNextSlot(false);
SaveStateSelectorUI::SaveCurrentSlot();
}
})