mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-07 13:13:24 +02:00
Trigger save slot display from UI code.
Core shouldn't be calling UI code.
This commit is contained in:
@@ -580,6 +580,7 @@ namespace MainWindow {
|
||||
case ID_FILE_SAVESTATE_NEXT_SLOT:
|
||||
{
|
||||
SaveState::NextSlot();
|
||||
NativeMessageReceived("savestate_displayslot", "");
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -588,6 +589,7 @@ namespace MainWindow {
|
||||
if (KeyMap::g_controllerMap[VIRTKEY_NEXT_SLOT].empty())
|
||||
{
|
||||
SaveState::NextSlot();
|
||||
NativeMessageReceived("savestate_displayslot", "");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user