From c3932e945dd3bccce28cda15545a01008f07e1dc Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 30 Nov 2020 01:15:04 +1000 Subject: [PATCH] GameSettings: Fix PGXP culling disabled message showing when PGXP disabled --- src/frontend-common/game_settings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend-common/game_settings.cpp b/src/frontend-common/game_settings.cpp index 30bf82e37..fbaf27beb 100644 --- a/src/frontend-common/game_settings.cpp +++ b/src/frontend-common/game_settings.cpp @@ -649,7 +649,7 @@ void Entry::ApplySettings(bool display_osd_messages) const if (HasTrait(Trait::DisablePGXPCulling)) { - if (display_osd_messages && g_settings.gpu_pgxp_culling) + if (display_osd_messages && g_settings.gpu_pgxp_enable && g_settings.gpu_pgxp_culling) { g_host_interface->AddOSDMessage( g_host_interface->TranslateStdString("OSDMessage", "PGXP culling disabled by game settings."), osd_duration); @@ -660,7 +660,7 @@ void Entry::ApplySettings(bool display_osd_messages) const if (HasTrait(Trait::DisablePGXPTextureCorrection)) { - if (display_osd_messages && g_settings.gpu_pgxp_culling && g_settings.gpu_pgxp_texture_correction) + if (display_osd_messages && g_settings.gpu_pgxp_enable && g_settings.gpu_pgxp_texture_correction) { g_host_interface->AddOSDMessage( g_host_interface->TranslateStdString("OSDMessage", "PGXP texture correction disabled by game settings."), @@ -737,4 +737,4 @@ void Entry::ApplySettings(bool display_osd_messages) const } } -} // namespace GameSettings \ No newline at end of file +} // namespace GameSettings