Achievements: Add missing lock in OnSystemDestroyed()

This commit is contained in:
Stenzek
2025-11-30 16:35:44 +10:00
parent 8cfbaca0e1
commit 682d0075bd

View File

@@ -1012,6 +1012,7 @@ void Achievements::OnSystemStarting(CDImage* image, bool disable_hardcore_mode)
void Achievements::OnSystemDestroyed()
{
const auto lock = GetLock();
ClearGameInfo();
ClearGameHash();
DisableHardcoreMode(false, false);