mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-11 00:44:32 +00:00
Achievements: Add missing lock in OnSystemDestroyed()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user