mirror of https://github.com/PCSX2/pcsx2.git
Core: Reset game CRC when rebooting. Avoids previous games patches being loaded.
This commit is contained in:
parent
1630805fd8
commit
627f216bf7
|
@ -428,6 +428,9 @@ static void _ApplySettings(const Pcsx2Config& src, Pcsx2Config& fixup)
|
|||
bool ingame = (ElfCRC && (g_GameLoading || g_GameStarted));
|
||||
if (ingame)
|
||||
GameInfo::gameCRC.Printf(L"%8.8x", ElfCRC);
|
||||
else
|
||||
GameInfo::gameCRC = L""; // Needs to be reset when rebooting otherwise previously loaded patches may load
|
||||
|
||||
if (ingame && !DiscSerial.IsEmpty())
|
||||
GameInfo::gameSerial = L" [" + DiscSerial + L"]";
|
||||
|
||||
|
|
Loading…
Reference in New Issue