Achievements: Reset client state on system reset

This commit is contained in:
Ty Lamontagne 2024-09-10 11:51:55 -04:00 committed by Ty
parent a4d2332f9c
commit bb1162f6cc
1 changed files with 2 additions and 0 deletions

View File

@ -1706,6 +1706,8 @@ void VMManager::Reset()
if (elf_was_changed) if (elf_was_changed)
HandleELFChange(false); HandleELFChange(false);
Achievements::ResetClient();
mmap_ResetBlockTracking(); mmap_ResetBlockTracking();
memSetExtraMemMode(EmuConfig.Cpu.ExtraMemory); memSetExtraMemMode(EmuConfig.Cpu.ExtraMemory);
Internal::ClearCPUExecutionCaches(); Internal::ClearCPUExecutionCaches();