diff options
| author | JosJuice <josjuice@gmail.com> | 2025-07-26 18:08:19 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2025-07-26 18:08:19 +0200 |
| commit | 0fa15342ec43759d3e71cacb6c038600d9249aa8 (patch) | |
| tree | af762cb6604046e1dbbdaadc16290f89a2c37a8a /Source/Core | |
| parent | 57b145990dec3f942f25c6b8d716051f1f429946 (diff) | |
Boot: Fix RetroAchievements for GameCube games launched with IPL
The SetDisc function calls AchievementManager::LoadGame with the game's
volume. Calling AchievementManager::LoadGame again afterwards with
nullptr prevents RetroAchievements from working.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Boot/Boot.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/Core/Boot/Boot.cpp b/Source/Core/Core/Boot/Boot.cpp index 1b796952f8..e43ffc52d4 100644 --- a/Source/Core/Core/Boot/Boot.cpp +++ b/Source/Core/Core/Boot/Boot.cpp @@ -632,8 +632,10 @@ bool CBoot::BootUp(Core::System& system, const Core::CPUThreadGuard& guard, SetDisc(system.GetDVDInterface(), DiscIO::CreateDisc(ipl.disc->path), ipl.disc->auto_disc_change_paths); } - - AchievementManager::GetInstance().LoadGame(nullptr); + else + { + AchievementManager::GetInstance().LoadGame(nullptr); + } SConfig::OnTitleDirectlyBooted(guard); return true; |
