mirror of https://github.com/PCSX2/pcsx2.git
VMManager: Clear last elf/serial on shutdown
This commit is contained in:
parent
1ec76ce248
commit
51e3ec27d8
|
@ -996,6 +996,12 @@ void VMManager::Shutdown(bool save_resume_state)
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
LastELF.clear();
|
||||||
|
DiscSerial.clear();
|
||||||
|
ElfCRC = 0;
|
||||||
|
ElfEntry = 0;
|
||||||
|
ElfTextRange = {};
|
||||||
|
|
||||||
std::unique_lock lock(s_info_mutex);
|
std::unique_lock lock(s_info_mutex);
|
||||||
s_disc_path.clear();
|
s_disc_path.clear();
|
||||||
s_game_crc = 0;
|
s_game_crc = 0;
|
||||||
|
|
Loading…
Reference in New Issue