mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
d11382a20c
commit
d9026a10a7
pcsx2
|
@ -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
|
// 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) {
|
int LoadCheatsFromDbf(wxString gameCRC, const wxString& cheatsDbfFilename) {
|
||||||
gameCRC.MakeUpper();
|
gameCRC.MakeUpper();
|
||||||
|
if (!gameCRC.Length()) {
|
||||||
|
Console.WriteLn(Color_Gray, "Cheats: No CRC, using 00000000 instead.");
|
||||||
|
gameCRC = L"00000000";
|
||||||
|
}
|
||||||
|
|
||||||
wxTextFile db(cheatsDbfFilename);
|
wxTextFile db(cheatsDbfFilename);
|
||||||
db.Open();
|
db.Open();
|
||||||
|
|
Loading…
Reference in New Issue