mirror of https://github.com/PCSX2/pcsx2.git
Scratched the idea about having the compatibilities in increments of 100, and just made them increments of 1 instead.
There shouldn't be a reason to add more categories to the current list, and we will have a 'notes' field for additional information.... git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2994 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
57206faa23
commit
ae3df35369
4308
bin/DataBase.dbf
4308
bin/DataBase.dbf
File diff suppressed because it is too large
Load Diff
|
@ -291,4 +291,16 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
static wxString compatToStringWX(int compat) {
|
||||
switch (compat) {
|
||||
case 6: return wxString(L"Perfect");
|
||||
case 5: return wxString(L"Playable");
|
||||
case 4: return wxString(L"In-Game");
|
||||
case 3: return wxString(L"Menu");
|
||||
case 2: return wxString(L"Intro");
|
||||
case 1: return wxString(L"Nothing");
|
||||
default: return wxString(L"Unknown");
|
||||
}
|
||||
}
|
||||
|
||||
extern ScopedPtr<DataBase_Loader> GameDB;
|
||||
|
|
|
@ -580,17 +580,11 @@ void __fastcall eeGameStarting()
|
|||
wxString gameCRC( wxsFormat( L"%8.8x", ElfCRC ) );
|
||||
wxString gameName;
|
||||
if (GameDB) {
|
||||
int compat = GameDB->getInt("Compat");
|
||||
gameName = GameDB->getStringWX("Name");
|
||||
gameName += L" (" + GameDB->getStringWX("Region") + L")";
|
||||
gameName += L" [" + DiscID + L"]";
|
||||
int compat = GameDB->getInt("Compat");
|
||||
if (compat >= 600) gameName += L" [Status = Perfect]";
|
||||
else if (compat >= 500) gameName += L" [Status = Playable]";
|
||||
else if (compat >= 400) gameName += L" [Status = In-Game]";
|
||||
else if (compat >= 300) gameName += L" [Status = Menu]";
|
||||
else if (compat >= 200) gameName += L" [Status = Intro]";
|
||||
else if (compat >= 100) gameName += L" [Status = Nothing]";
|
||||
else gameName += L" [Status = Unknown]";
|
||||
gameName += L" [Status = "+compatToStringWX(compat)+L"]";
|
||||
}
|
||||
else {
|
||||
gameName += L" [" + DiscID + L"]";
|
||||
|
|
Loading…
Reference in New Issue