mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-31 10:32:30 +00:00
Fix "Savestate Slot" string
This commit is contained in:
parent
5398820867
commit
47b19eb24b
@ -1200,7 +1200,7 @@ bool HandleGlobalMessage(UIMessage message, const std::string &value) {
|
|||||||
return true;
|
return true;
|
||||||
} else if (message == UIMessage::SAVESTATE_DISPLAY_SLOT) {
|
} else if (message == UIMessage::SAVESTATE_DISPLAY_SLOT) {
|
||||||
auto sy = GetI18NCategory(I18NCat::SYSTEM);
|
auto sy = GetI18NCategory(I18NCat::SYSTEM);
|
||||||
std::string msg = StringFromFormat("%s: %d", sy->T("Savestate Slot"), SaveState::GetCurrentSlot() + 1);
|
std::string msg = StringFromFormat("%s: %d", std::string(sy->T("Savestate Slot")), SaveState::GetCurrentSlot() + 1);
|
||||||
// Show for the same duration as the preview.
|
// Show for the same duration as the preview.
|
||||||
g_OSD.Show(OSDType::MESSAGE_INFO, msg, 2.0f, "savestate_slot");
|
g_OSD.Show(OSDType::MESSAGE_INFO, msg, 2.0f, "savestate_slot");
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user