Trigger save slot display from UI code.

Core shouldn't be calling UI code.
This commit is contained in:
Unknown W. Brackets committed 2016-05-27 20:53:20 -07:00
1 parent afdd01571c
commit e6cf296d1a
4 files changed
+8 -3

No files matched your search

-3
View File
@@ -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)