diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 0f3a3ffe0394..e69aa35c880c 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -1200,7 +1200,7 @@ bool HandleGlobalMessage(UIMessage message, const std::string &value) { return true; } else if (message == UIMessage::SAVESTATE_DISPLAY_SLOT) { 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. g_OSD.Show(OSDType::MESSAGE_INFO, msg, 2.0f, "savestate_slot"); return true;