mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-26 01:53:54 +02:00
Fix GUI typos.
This commit is contained in:
@@ -67,12 +67,12 @@ auto InputManager::bindHotkeys() -> void {
|
|||||||
program.loadState("Quick/Redo");
|
program.loadState("Quick/Redo");
|
||||||
}));
|
}));
|
||||||
|
|
||||||
hotkeys.append(InputHotkey("Increment State Slot").onPress([&] {
|
hotkeys.append(InputHotkey("Decrement State Slot").onPress([&] {
|
||||||
if(--stateSlot < 1) stateSlot = 9;
|
if(--stateSlot < 1) stateSlot = 9;
|
||||||
program.showMessage({"Selected state slot ", stateSlot});
|
program.showMessage({"Selected state slot ", stateSlot});
|
||||||
}));
|
}));
|
||||||
|
|
||||||
hotkeys.append(InputHotkey("Decrement State Slot").onPress([&] {
|
hotkeys.append(InputHotkey("Increment State Slot").onPress([&] {
|
||||||
if(++stateSlot > 9) stateSlot = 1;
|
if(++stateSlot > 9) stateSlot = 1;
|
||||||
program.showMessage({"Selected state slot ", stateSlot});
|
program.showMessage({"Selected state slot ", stateSlot});
|
||||||
}));
|
}));
|
||||||
|
Reference in New Issue
Block a user