Merge pull request #329 from tadatada/mod_console_title

Inserted a game CRC in the title of the console log screen.
This commit is contained in:
Gregory Hainaut 2014-10-26 21:53:58 +01:00
commit f0d85d7dcc
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