Skip to content

Commit

Permalink
GS/HW: Take render target end block for channel shuffles if bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Jun 6, 2024
1 parent f771b0f commit 5e858fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pcsx2/GS/Renderers/HW/GSRendererHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2792,6 +2792,10 @@ void GSRendererHW::Draw()

if (m_last_channel_shuffle_end_block < rt->m_TEX0.TBP0)
m_last_channel_shuffle_end_block += MAX_BLOCKS;

// if the RT is bigger, then use that instead.
if (m_last_channel_shuffle_end_block < rt->m_end_block)
m_last_channel_shuffle_end_block = rt->m_end_block;
}
}
else
Expand Down

0 comments on commit 5e858fa

Please sign in to comment.