Fix Save message missing .zip extension.

This commit is contained in:
Frank-74 2016-11-21 05:05:46 +00:00 committed by GitHub
parent 29c2a6932b
commit 501ad347aa
1 changed files with 5 additions and 2 deletions

View File

@ -1627,7 +1627,10 @@ bool CN64System::SaveState()
m_Reg.MI_INTR_REG = MiInterReg;
g_Settings->SaveString(GameRunning_InstantSaveFile, "");
g_Settings->SaveDword(Game_LastSaveTime, (uint32_t)time(NULL));
if (g_Settings->LoadDword(Setting_AutoZipInstantSave))
{
SaveFile=ZipFile;
}
g_Notify->DisplayMessage(5, stdstr_f("%s %s", g_Lang->GetString(MSG_SAVED_STATE).c_str(), stdstr(SaveFile.GetNameExtension()).c_str()).c_str());
WriteTrace(TraceN64System, TraceDebug, "Done");
return true;