Skip to content

Commit

Permalink
GS-HW: Fix bug with looping invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Apr 7, 2023
1 parent 77d37de commit 1b8f5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/GS/Renderers/HW/GSRendererHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ void GSRendererHW::InvalidateVideoMem(const GIFRegBITBLTBUF& BITBLTBUF, const GS
if (loop_w)
{
rect.x = 0;
rect.z = r.w - 2048;
rect.z = r.z - 2048;
}
g_texture_cache->InvalidateVideoMem(m_mem.GetOffset(BITBLTBUF.DBP, BITBLTBUF.DBW, BITBLTBUF.DPSM), rect, eewrite);
}
Expand Down

0 comments on commit 1b8f5f2

Please sign in to comment.