Skip to content

Commit

Permalink
GS/HW: Preload whole target on match
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Feb 21, 2024
1 parent ce5e66a commit a272d99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pcsx2/GS/Renderers/HW/GSTextureCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit a272d99

Please sign in to comment.