This commit is contained in:
LillyJadeKatrin 2026-03-21 17:42:17 +01:00 committed by GitHub
commit 2b7c3f335f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -168,6 +168,8 @@ void AchievementManager::LoadGame(const DiscIO::Volume* volume)
WARN_LOG_FMT(ACHIEVEMENTS, "Software format unsupported by AchievementManager.");
if (rc_client_get_game_info(m_client))
{
OSD::AddMessage("Unsupported media change; disabling achievements.", OSD::Duration::VERY_LONG,
OSD::Color::RED);
CloseGame();
}
else

View File

@ -442,7 +442,6 @@ void DVDInterface::AutoChangeDiscCallback(Core::System& system, u64 userdata, s6
void DVDInterface::EjectDiscCallback(Core::System& system, u64 userdata, s64 cyclesLate)
{
AchievementManager::GetInstance().ChangeDisc(nullptr);
system.GetDVDInterface().SetDisc(nullptr, {});
}