mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
UI: Add a message handler to update the bg image.
This commit is contained in:
1 parent
8f4d1634ad
commit
ed11b8a8bd
1 file changed
+4
@@ -842,6 +842,10 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
g_Config.sNickName = setString;
|
||||
inputboxValue.clear();
|
||||
}
|
||||
if (msg == "bgImage_updated") {
|
||||
UIBackgroundShutdown();
|
||||
UIBackgroundInit(*uiContext);
|
||||
}
|
||||
if (msg == "savestate_displayslot") {
|
||||
I18NCategory *sy = GetI18NCategory("System");
|
||||
std::string msg = StringFromFormat("%s: %d", sy->T("Savestate Slot"), SaveState::GetCurrentSlot() + 1);
|
||||
|
||||
Reference in new issue
Block a user