The SetDisc function calls AchievementManager::LoadGame with the game's volume. Calling AchievementManager::LoadGame again afterwards with nullptr prevents RetroAchievements from working.
std::copy
std::copy_n
std::find_if
std::ranges::find