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.
This commit is contained in:
JosJuice 2025-07-26 18:08:19 +02:00
commit 0fa15342ec

View file

@ -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);
}
else
{
AchievementManager::GetInstance().LoadGame(nullptr);
}
SConfig::OnTitleDirectlyBooted(guard);
return true;