diff --git a/pcsx2/Patch.cpp b/pcsx2/Patch.cpp index a8ef7ba3bf..6a899da4df 100644 --- a/pcsx2/Patch.cpp +++ b/pcsx2/Patch.cpp @@ -166,7 +166,7 @@ void inifile_process(wxTextFile &f1 ) } } -void ResetCeatsCount() +void ResetCheatsCount() { cheatnumber = 0; } diff --git a/pcsx2/Patch.h b/pcsx2/Patch.h index c049097cfe..ac696252f8 100644 --- a/pcsx2/Patch.h +++ b/pcsx2/Patch.h @@ -57,7 +57,7 @@ namespace PatchFunc PATCHTABLEFUNC cheat; } -extern void ResetCeatsCount(); +extern void ResetCheatsCount(); extern int LoadCheats(const wxString& name, const wxString& folderName, const wxString& friendlyName); extern void inifile_command(bool isCheat, const wxString& cmd); extern void inifile_trim(wxString& buffer); diff --git a/pcsx2/gui/AppCoreThread.cpp b/pcsx2/gui/AppCoreThread.cpp index 4a41ec00f0..dab97ce2e1 100644 --- a/pcsx2/gui/AppCoreThread.cpp +++ b/pcsx2/gui/AppCoreThread.cpp @@ -350,7 +350,7 @@ void AppCoreThread::ApplySettings( const Pcsx2Config& src ) gameName = L"Booting PS2 BIOS... "; } - ResetCeatsCount(); + ResetCheatsCount(); if (EmuConfig.EnableCheats) { if (int cheats = LoadCheats(gameCRC, L"cheats", L"Cheats")) { gameCheats.Printf(L" [%d Cheats]", cheats);