[XAM] Fixed issue with lack of loaded achievements while switching profile in-game

This commit is contained in:
Gliniak
2024-12-15 14:16:17 +01:00
parent b449937553
commit cfd965342a
2 changed files with 13 additions and 0 deletions

View File

@@ -72,6 +72,10 @@ bool GpdAchievementBackend::IsAchievementUnlocked(
const auto achievement =
GetAchievementInfoInternal(xuid, title_id, achievement_id);
if (!achievement) {
return false;
}
return (achievement->flags &
static_cast<uint32_t>(AchievementFlags::kAchieved)) != 0;
}