mirror of https://github.com/PCSX2/pcsx2.git
Added "SaveStateAndSelectNextSlot" hotkey for alternative save slot cycling functionality.
This commit is contained in:
parent
22c9b70ca3
commit
2886f825aa
|
@ -239,6 +239,14 @@ DEFINE_HOTKEY("LoadStateFromSlot", TRANSLATE_NOOP("Hotkeys", "Save States"),
|
||||||
if (!pressed && VMManager::HasValidVM())
|
if (!pressed && VMManager::HasValidVM())
|
||||||
SaveStateSelectorUI::LoadCurrentSlot();
|
SaveStateSelectorUI::LoadCurrentSlot();
|
||||||
})
|
})
|
||||||
|
DEFINE_HOTKEY("SaveStateAndSelectNextSlot", TRANSLATE_NOOP("Hotkeys", "Save States"),
|
||||||
|
TRANSLATE_NOOP("Hotkeys", "Save State and Select Next Slot"), [](s32 pressed) {
|
||||||
|
if (!pressed && VMManager::HasValidVM())
|
||||||
|
{
|
||||||
|
SaveStateSelectorUI::SaveCurrentSlot();
|
||||||
|
SaveStateSelectorUI::SelectNextSlot(false);
|
||||||
|
}
|
||||||
|
})
|
||||||
DEFINE_HOTKEY("SelectNextSlotAndSaveState", TRANSLATE_NOOP("Hotkeys", "Save States"),
|
DEFINE_HOTKEY("SelectNextSlotAndSaveState", TRANSLATE_NOOP("Hotkeys", "Save States"),
|
||||||
TRANSLATE_NOOP("Hotkeys", "Select Next Slot and Save State"), [](s32 pressed) {
|
TRANSLATE_NOOP("Hotkeys", "Select Next Slot and Save State"), [](s32 pressed) {
|
||||||
if (!pressed && VMManager::HasValidVM())
|
if (!pressed && VMManager::HasValidVM())
|
||||||
|
|
Loading…
Reference in New Issue