From 3e2c3e5075ddcd68b2976fb87ac5aa05190e4055 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Thu, 19 Jun 2025 13:57:05 +0100 Subject: [PATCH] GS/TC: Slight fix for rect translation with block offset --- pcsx2/GS/Renderers/HW/GSTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp index f56d301a17..a04a304250 100644 --- a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp +++ b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp @@ -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;