VMManager: Clear last elf/serial on shutdown

This commit is contained in:
Connor McLaughlin 2022-08-20 20:22:04 +10:00 committed by refractionpcsx2
parent 1ec76ce248
commit 51e3ec27d8
1 changed files with 6 additions and 0 deletions

View File

@ -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);
s_disc_path.clear();
s_game_crc = 0;