From 20fa3b6af900159cc110e39e6eaa32c07f3c69d0 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Fri, 22 Mar 2024 17:44:14 +0000 Subject: [PATCH] GS/HW: Make sure RTA doesn't correct when it can't --- pcsx2/GS/Renderers/HW/GSRendererHW.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp index 7e487b509a..ce2aba53fa 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp @@ -5371,6 +5371,8 @@ __ri void GSRendererHW::DrawPrims(GSTextureCache::Target* rt, GSTextureCache::Ta tex->m_texture = rt->m_texture; } } + else if (!rt->m_rt_alpha_scale) + m_can_correct_alpha = std::max(blend_alpha_max, rt->m_alpha_max) <= 128; m_conf.ps.rta_correction = rt->m_rt_alpha_scale; }