mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00:00
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:
parent
57b145990d
commit
0fa15342ec
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue