mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 03:54:19 +01:00
GS/TC: Slight fix for rect translation with block offset
This commit is contained in:
1 parent
154259d0a6
commit
3e2c3e5075
1 file changed
+1
-1
@@ -424,7 +424,7 @@ GSVector4i GSTextureCache::TranslateAlignedRectByPage(u32 tbp, u32 tebp, u32 tbw
|
||||
}
|
||||
}
|
||||
}
|
||||
else // Widths match
|
||||
else if (!block_offset) // Widths match
|
||||
{
|
||||
const int horizontal_dst_page_offset = page_offset % clamped_tbw;
|
||||
const int vertical_dst_page_offset = page_offset / clamped_tbw;
|
||||
|
||||
Reference in new issue
Block a user