Fix "Saved current state" and "Load state"
Certain strings won't show up correctly.
This commit is contained in:
parent
3e4dd1cc23
commit
cf8a624a25
|
@ -1391,7 +1391,7 @@ bool CN64System::SaveState()
|
|||
|
||||
CPath SavedFileName(FileName);
|
||||
|
||||
g_Notify->DisplayMessage(5, stdstr_f("%ws %s", SaveMessage.c_str(), SavedFileName.GetNameExtension().c_str()).ToUTF16().c_str());
|
||||
g_Notify->DisplayMessage(5, stdwstr_f(L"%ws %ws", SaveMessage.c_str(), stdstr(SavedFileName.GetNameExtension()).ToUTF16().c_str()).c_str());
|
||||
//Notify().RefreshMenu();
|
||||
WriteTrace(TraceDebug, __FUNCTION__ ": Done");
|
||||
return true;
|
||||
|
@ -1687,7 +1687,7 @@ bool CN64System::LoadState(const char * FileName)
|
|||
}
|
||||
WriteTrace(TraceDebug, __FUNCTION__ ": 13");
|
||||
std::wstring LoadMsg = g_Lang->GetString(MSG_LOADED_STATE);
|
||||
g_Notify->DisplayMessage(5, stdstr_f("%ws %s", LoadMsg.c_str(), CPath(FileNameStr).GetNameExtension().c_str()).ToUTF16().c_str());
|
||||
g_Notify->DisplayMessage(5, stdwstr_f(L"%ws %ws", LoadMsg.c_str(), stdstr(CPath(FileNameStr).GetNameExtension()).ToUTF16().c_str()).c_str());
|
||||
WriteTrace(TraceDebug, __FUNCTION__ ": Done");
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue