mirror of https://github.com/PCSX2/pcsx2.git
parent
56adb85a87
commit
67aee8a19c
|
@ -176,6 +176,12 @@ void inifile_process(wxTextFile &f1 )
|
|||
}
|
||||
}
|
||||
|
||||
void ResetPatchesCount()
|
||||
{
|
||||
patchnumber = 0;
|
||||
}
|
||||
|
||||
|
||||
void ResetCheatsCount()
|
||||
{
|
||||
cheatnumber = 0;
|
||||
|
|
|
@ -57,6 +57,7 @@ namespace PatchFunc
|
|||
PATCHTABLEFUNC cheat;
|
||||
}
|
||||
|
||||
extern void ResetPatchesCount();
|
||||
extern void ResetCheatsCount();
|
||||
extern int LoadCheats(wxString name, const wxDirName& folderName, const wxString& friendlyName);
|
||||
extern int LoadCheatsFromZip(wxString gameCRC, const wxString& cheatsArchiveFilename);
|
||||
|
|
|
@ -198,6 +198,7 @@ void SysCoreThread::_reset_stuff_as_needed()
|
|||
m_resetVirtualMachine = false;
|
||||
m_resetVsyncTimers = false;
|
||||
|
||||
ResetPatchesCount();
|
||||
ResetCheatsCount();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue