Wide screen hacks db: fix boot to bios (was trying to load all patches, now only the patches for CRC 00000000)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5828 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
avihal@gmail.com 2014-01-24 21:33:09 +00:00
parent d11382a20c
commit d9026a10a7
1 changed files with 4 additions and 0 deletions

View File

@ -217,6 +217,10 @@ static int LoadCheatsFiles(const wxDirName& folderName, wxString& fileSpec, cons
// DB file notes: 1. no spaces around the '='. 2. CRC should be in upper case padded with 0s to 8 chars
int LoadCheatsFromDbf(wxString gameCRC, const wxString& cheatsDbfFilename) {
gameCRC.MakeUpper();
if (!gameCRC.Length()) {
Console.WriteLn(Color_Gray, "Cheats: No CRC, using 00000000 instead.");
gameCRC = L"00000000";
}
wxTextFile db(cheatsDbfFilename);
db.Open();