"Next Slot" control mapping
-added "Next Slot" to control mapping menu -added VIRTKEY_NEXT_SLOT -> incremented VIRTKEY_TOGGLE_FULLSCREEN -added SaveState::NextSlot(); as replacement for code in WndMainWindow -added entry in EmuScreen using SaveState::NextSlot();
This commit is contained in:
parent
eea5b07e1a
commit
26fbb4c32c
6 changed files with 18 additions and 6 deletions
|
@ -1229,11 +1229,7 @@ namespace MainWindow
|
|||
|
||||
case ID_FILE_SAVESTATE_NEXT_SLOT:
|
||||
{
|
||||
I18NCategory *sy = GetI18NCategory("System");
|
||||
g_Config.iCurrentStateSlot = (g_Config.iCurrentStateSlot + 1) % SaveState::SAVESTATESLOTS;
|
||||
char msg[30];
|
||||
sprintf(msg, "%s: %d", sy->T("Savestate Slot"), g_Config.iCurrentStateSlot + 1);
|
||||
osm.Show(msg);
|
||||
SaveState::NextSlot();
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue