GS/HW: Don't preload target from other targets after hw clear

This commit is contained in:
refractionpcsx2 2024-01-22 17:15:29 +00:00
parent e0233daeb0
commit 28f984e87f
1 changed files with 1 additions and 1 deletions

View File

@ -2504,7 +2504,7 @@ bool GSTextureCache::PreloadTarget(GIFRegTEX0 TEX0, const GSVector2i& size, cons
continue;
}
if (preserve_target || preload)
if (!hw_clear && (preserve_target || preload))
{
const int copy_width = (t->m_texture->GetWidth()) > (dst->m_texture->GetWidth()) ? (dst->m_texture->GetWidth()) : t->m_texture->GetWidth();
const int copy_height = overlapping_pages_height * t->m_scale;