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 committed 2014-10-26 21:53:58 +01:00
commit f0d85d7dcc
1 file changed
+7 -1
+7 -1
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