Update MainMenuClass.cpp

This commit is contained in:
Frank-74 2017-01-31 15:33:13 +00:00 committed by GitHub
parent 095caffa42
commit 3488bc6c5e
1 changed files with 3 additions and 3 deletions

View File

@ -625,11 +625,11 @@ std::wstring CMainMenu::GetSaveSlotString(int Slot)
}
if (Slot != 0)
{
FileName.SetNameExtension(stdstr_f("%s.pj%d", g_Settings->LoadStringVal(Game_GoodName).c_str(), Slot).c_str());
FileName.SetNameExtension(stdstr_f("%s.pj%d", g_Settings->LoadStringVal(Rdb_GoodName).c_str(), Slot).c_str());
}
else
{
FileName.SetNameExtension(stdstr_f("%s.pj", g_Settings->LoadStringVal(Game_GoodName).c_str()).c_str());
FileName.SetNameExtension(stdstr_f("%s.pj", g_Settings->LoadStringVal(Rdb_GoodName).c_str()).c_str());
}
if (g_Settings->LoadDword(Setting_AutoZipInstantSave))
@ -1301,4 +1301,4 @@ void CMainMenu::ResetMenu(void)
ResetAccelerators();
WriteTrace(TraceUserInterface, TraceDebug, "Done");
}
}