From 3d653129990a1581194d4b66b33b8a41e60bfbb8 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Fri, 4 Nov 2016 23:02:49 +0100 Subject: [PATCH] gsdx hw: remove old assert Code is working fine with all formats --- plugins/GSdx/GSRendererHW.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plugins/GSdx/GSRendererHW.cpp b/plugins/GSdx/GSRendererHW.cpp index a59d06129d..e6cc7cdfd5 100644 --- a/plugins/GSdx/GSRendererHW.cpp +++ b/plugins/GSdx/GSRendererHW.cpp @@ -225,13 +225,7 @@ GSTexture* GSRendererHW::GetOutput(int i, int& y_offset) t = rt->m_texture; int delta = TEX0.TBP0 - rt->m_TEX0.TBP0; - if (delta > 0) { - // Code was corrected to use generic format. But I'm not sure behavior is correct. - // Let's keep the warning to easily spot game that trigger this code path. -#ifndef DISABLE_WIP_ASSERTION - ASSERT(DISPFB.PSM == PSM_PSMCT32 || DISPFB.PSM == PSM_PSMCT24); -#endif - + if (delta > 0 && DISPFB.FBW != 0) { int pages = delta >> 5u; int y_pages = pages / DISPFB.FBW; y_offset = y_pages * GSLocalMemory::m_psm[DISPFB.PSM].pgs.y;