Skip to content

Commit

Permalink
VMManager: Fix cheats warning showing with per-game HC mode
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek authored and refractionpcsx2 committed Jun 29, 2023
1 parent 987bebf commit 64ed6f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pcsx2/VMManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2210,7 +2210,10 @@ void VMManager::ReloadPatches(bool reload_files, bool reload_enabled_list, bool
void VMManager::EnforceAchievementsChallengeModeSettings()
{
if (!Achievements::ChallengeModeActive())
{
Host::RemoveKeyedOSDMessage("ChallengeDisableCheats");
return;
}

static constexpr auto ClampSpeed = [](float& rate) {
if (rate > 0.0f && rate < 1.0f)
Expand Down

0 comments on commit 64ed6f5

Please sign in to comment.