mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Check if channel shuffling actually needs decorrecting.
Saves copies.
This commit is contained in:
parent
f2b3db9cbc
commit
97237c963f
|
@ -5331,9 +5331,18 @@ __ri void GSRendererHW::DrawPrims(GSTextureCache::Target* rt, GSTextureCache::Ta
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (m_channel_shuffle)
|
||||||
if (rt->m_last_draw == s_n)
|
{
|
||||||
|
if (m_conf.ps.tales_of_abyss_hle || (tex && tex->m_from_target && tex->m_from_target == rt && m_conf.ps.channel == ChannelFetch_ALPHA) || ((m_cached_ctx.FRAME.FBMSK & 0xFF000000) != 0xFF000000))
|
||||||
|
{
|
||||||
|
rt->RTADecorrect(rt);
|
||||||
|
m_conf.rt = rt->m_texture;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (rt->m_last_draw == s_n)
|
||||||
|
{
|
||||||
rt->m_rt_alpha_scale = false;
|
rt->m_rt_alpha_scale = false;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rt->RTADecorrect(rt);
|
rt->RTADecorrect(rt);
|
||||||
|
|
Loading…
Reference in New Issue