From 0fa15342ec43759d3e71cacb6c038600d9249aa8 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 26 Jul 2025 18:08:19 +0200 Subject: [PATCH] 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. --- Source/Core/Core/Boot/Boot.cpp | 6 ++++-- 1 file 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;