Typo fix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5563 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
avihal@gmail.com 2013-02-18 16:45:21 +00:00
parent 8cc03b1e2a
commit c64c9a16ad
3 changed files with 3 additions and 3 deletions

View File

@ -166,7 +166,7 @@ void inifile_process(wxTextFile &f1 )
}
}
void ResetCeatsCount()
void ResetCheatsCount()
{
cheatnumber = 0;
}

View File

@ -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);

View File

@ -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);