Inserted a game CRC in the title of the console log screen.

This commit is contained in:
tadatada 2014-10-13 06:10:53 +09:00
parent fa3db52cf7
commit ea6e78ab0d
1 changed files with 7 additions and 1 deletions

View File

@ -403,7 +403,13 @@ void AppCoreThread::ApplySettings( const Pcsx2Config& src )
}
}
Console.SetTitle(gameName + gameSerial + gameCompat + gameFixes + gamePatch + gameCheats + gameWsHacks);
wxString consoleTitle = gameName + gameSerial;
if (!gameSerial.IsEmpty()) {
consoleTitle += L" [" + gameCRC.MakeUpper() + L"]";
}
consoleTitle += gameCompat + gameFixes + gamePatch + gameCheats + gameWsHacks;
Console.SetTitle(consoleTitle);
// Re-entry guard protects against cases where code wants to manually set core settings
// which are not part of g_Conf. The subsequent call to apply g_Conf settings (which is