Merge pull request #1217 from Frank-74/patch-3

Fix Save message missing .zip extension.
This commit is contained in:
zilmar 2016-11-22 04:06:36 +11:00 committed by GitHub
commit 5537ccdc5b
1 changed files with 4 additions and 1 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;