GS/HW: Avoid (Ad + 1) cases on RTA correction.

HW blend will be wrong here so no need to do copies.
This commit is contained in:
lightningterror committed 2024-03-17 17:24:39 +01:00
1 parent 6c9f132093
commit fff4aea076
1 file changed
+1 -1
+1 -1
View File
@@ -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);