mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-23 06:08:47 -05:00
fbaeaf305b
AchievementManager now has a SetUpdateCallback method for providing a single universal callback for anytime something important changes in the achievement state, such as logging in/out, game load/close, or events such as achievement unlocks. AchievementsWindow sets this callback in its own init to its UpdateData method so that the AchievementsWindow gets updated when one of these changes takes place.