From 5b7122bd30d82805659d042b47cd55832a81c42d Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Thu, 28 Nov 2024 21:53:21 +0100 Subject: [PATCH] GS/TC: Remove no longer needed asserts in PreloadTarget. Asserts are no longer needed as we check for width offset and adjust width accordingly using the offset. --- pcsx2/GS/Renderers/HW/GSTextureCache.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp index 13405a3f9e..d116d7ae57 100644 --- a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp +++ b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp @@ -2651,11 +2651,6 @@ bool GSTextureCache::PreloadTarget(GIFRegTEX0 TEX0, const GSVector2i& size, cons GL_INS("RT double buffer copy from FBP 0x%x, %dx%d => %d,%d", t->m_TEX0.TBP0, copy_width, copy_height, 0, dst_offset_scaled_height); - pxAssert(copy_width <= dst->GetTexture()->GetWidth() && copy_height <= dst->GetTexture()->GetHeight() && - copy_width <= t->GetTexture()->GetWidth() && copy_height <= t->GetTexture()->GetHeight()); - - pxAssert(dst_offset_scaled_height > 0); - // Clear the dirty first t->Update(); dst->Update();