mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +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
@@ -766,6 +766,11 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
g_Config.sNickName = inputboxValue[1];
|
||||
inputboxValue.clear();
|
||||
}
|
||||
if (msg == "savestate_displayslot") {
|
||||
I18NCategory *sy = GetI18NCategory("System");
|
||||
std::string msg = StringFromFormat("%s: %d", sy->T("Savestate Slot"), SaveState::GetCurrentSlot() + 1);
|
||||
osm.Show(msg);
|
||||
}
|
||||
}
|
||||
|
||||
void NativeUpdate(InputState &input) {
|
||||
|
||||
Reference in new issue
Block a user