From fff4aea076b903934d573b3bd5f3bea4e9d46a85 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Sat, 24 Feb 2024 16:36:44 +0100 Subject: [PATCH] GS/HW: Avoid (Ad + 1) cases on RTA correction. HW blend will be wrong here so no need to do copies. --- pcsx2/GS/Renderers/HW/GSRendererHW.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp index 2466510b96..2d3da3764c 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp @@ -4303,7 +4303,7 @@ void GSRendererHW::EmulateBlending(int rt_alpha_min, int rt_alpha_max, bool& DAT // TODO: Make it work on DATE, switch to new shaders with Ad doubled. const bool rta_decorrection = m_channel_shuffle || m_texture_shuffle || rt_alpha_max > 128; - const bool rta_correction = !rta_decorrection && !m_cached_ctx.TEST.DATE && !blend_ad_alpha_masked && m_conf.ps.blend_c == 1; + const bool rta_correction = !rta_decorrection && !m_cached_ctx.TEST.DATE && !blend_ad_alpha_masked && m_conf.ps.blend_c == 1 && !(blend_flag & BLEND_A_MAX); if (rta_correction) { rt->RTACorrect(rt);