mirror of https://github.com/PCSX2/pcsx2.git
VMManager: Fix cheats warning showing with per-game HC mode
This commit is contained in:
parent
987bebffc7
commit
64ed6f5572
|
@ -2210,7 +2210,10 @@ void VMManager::ReloadPatches(bool reload_files, bool reload_enabled_list, bool
|
||||||
void VMManager::EnforceAchievementsChallengeModeSettings()
|
void VMManager::EnforceAchievementsChallengeModeSettings()
|
||||||
{
|
{
|
||||||
if (!Achievements::ChallengeModeActive())
|
if (!Achievements::ChallengeModeActive())
|
||||||
|
{
|
||||||
|
Host::RemoveKeyedOSDMessage("ChallengeDisableCheats");
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
static constexpr auto ClampSpeed = [](float& rate) {
|
static constexpr auto ClampSpeed = [](float& rate) {
|
||||||
if (rate > 0.0f && rate < 1.0f)
|
if (rate > 0.0f && rate < 1.0f)
|
||||||
|
|
Loading…
Reference in New Issue