summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLilly Jade Katrin <lilly.kitty.1988@gmail.com>2026-02-24 22:55:30 -0500
committerLilly Jade Katrin <lilly.kitty.1988@gmail.com>2026-02-24 22:55:30 -0500
commit713d557d5eab0417a500a3595727d3217bbedc24 (patch)
treed7dd74737f19f7d9be146d01430d207aff8bb629
parentd58e7ca9325217574d84d961b824e0acbf2f67e9 (diff)
RetroAchievements - Close game on switch to null hash
Mistakenly thought the change media call would close the current game if the new media failed to hash. This wasn't the case so instead I'll close the current game myself. This fixes an issue where a default ISO would immediately load achievements when starting up the Wii menu.
-rw-r--r--Source/Core/Core/AchievementManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/AchievementManager.cpp b/Source/Core/Core/AchievementManager.cpp
index d8f6c3bdc0..cacad3f3d1 100644
--- a/Source/Core/Core/AchievementManager.cpp
+++ b/Source/Core/Core/AchievementManager.cpp
@@ -167,7 +167,7 @@ void AchievementManager::LoadGame(const DiscIO::Volume* volume)
WARN_LOG_FMT(ACHIEVEMENTS, "Software format unsupported by AchievementManager.");
if (rc_client_get_game_info(m_client))
{
- rc_client_begin_change_media_from_hash(m_client, "", ChangeMediaCallback, NULL);
+ CloseGame();
}
else
{