mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 12:18:35 +01:00
Make Save/Load state mappable to controls. Not mapped by default.
This commit is contained in:
1 parent
37de6eee0f
commit
886607d529
3 files changed
+15
-3
No files matched your search
@@ -269,6 +269,14 @@ void EmuScreen::onVKeyDown(int virtualKeyCode) {
|
||||
osm.Show(s->T("norewind", "No rewind save states available"), 2.0);
|
||||
}
|
||||
break;
|
||||
case VIRTKEY_SAVE_STATE:
|
||||
SaveState::SaveSlot(g_Config.iCurrentStateSlot, 0);
|
||||
break;
|
||||
case VIRTKEY_LOAD_STATE:
|
||||
if (SaveState::HasSaveInSlot(g_Config.iCurrentStateSlot)) {
|
||||
SaveState::LoadSlot(g_Config.iCurrentStateSlot, 0);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user