mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
"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:
1 parent
eea5b07e1a
commit
26fbb4c32c
6 files changed
+18
-6
No files matched your search
@@ -224,6 +224,15 @@ namespace SaveState
|
||||
}
|
||||
}
|
||||
|
||||
void NextSlot()
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
void LoadSlot(int slot, Callback callback, void *cbUserData)
|
||||
{
|
||||
std::string fn = GenerateSaveSlotFilename(slot, STATE_EXTENSION);
|
||||
|
||||
Reference in new issue
Block a user