GS-HW: Fix bug with looping invalidation

This commit is contained in:
refractionpcsx2 2023-04-08 00:08:08 +01:00
parent 77d37de18c
commit 1b8f5f232a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}