From a272d99335e7108a716c65e2f447286c74e2909b Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Tue, 20 Feb 2024 15:47:09 +0000 Subject: [PATCH] GS/HW: Preload whole target on match --- pcsx2/GS/Renderers/HW/GSTextureCache.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp index ae2ca42e152d8..e0e6ecc19c6df 100644 --- a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp +++ b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp @@ -2467,8 +2467,7 @@ bool GSTextureCache::PreloadTarget(GIFRegTEX0 TEX0, const GSVector2i& size, cons if (!eerect.rempty()) { GL_INS("Preloading the RT DATA from updated GS Memory"); - eerect = eerect.rintersect(newrect); - AddDirtyRectTarget(dst, eerect, TEX0.PSM, TEX0.TBW, rgba, GSLocalMemory::m_psm[TEX0.PSM].trbpp >= 16); + AddDirtyRectTarget(dst, newrect, TEX0.PSM, TEX0.TBW, rgba, GSLocalMemory::m_psm[TEX0.PSM].trbpp >= 16); } } }