mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 13:06:24 +02:00
Trigger save slot display from UI code.
Core shouldn't be calling UI code.
This commit is contained in:
1 parent
afdd01571c
commit
e6cf296d1a
4 files changed
+8
-3
No files matched your search
@@ -379,10 +379,7 @@ namespace SaveState
|
||||
|
||||
void NextSlot()
|
||||
{
|
||||
I18NCategory *sy = GetI18NCategory("System");
|
||||
g_Config.iCurrentStateSlot = (g_Config.iCurrentStateSlot + 1) % NUM_SLOTS;
|
||||
std::string msg = StringFromFormat("%s: %d", sy->T("Savestate Slot"), g_Config.iCurrentStateSlot + 1);
|
||||
osm.Show(msg);
|
||||
}
|
||||
|
||||
void LoadSlot(const std::string &gameFilename, int slot, Callback callback, void *cbUserData)
|
||||
|
||||
Reference in new issue
Block a user