System: Include cheevos state in save states

This commit is contained in:
Connor McLaughlin
2022-03-27 00:52:11 +10:00
parent 584525cb11
commit a55b5022c7
6 changed files with 124 additions and 17 deletions

View File

@ -250,10 +250,6 @@ void CommonHostInterface::PowerOffSystem(bool save_resume_state)
void CommonHostInterface::ResetSystem()
{
HostInterface::ResetSystem();
#ifdef WITH_CHEEVOS
Cheevos::Reset();
#endif
}
static void PrintCommandLineVersion(const char* frontend_name)
@ -768,10 +764,6 @@ bool CommonHostInterface::UndoLoadState()
System::ResetPerformanceCounters();
System::ResetThrottler();
#ifdef WITH_CHEEVOS
Cheevos::Reset();
#endif
Log_InfoPrintf("Loaded undo save state.");
m_undo_load_state.reset();
return true;