gsdx hw: remove old assert

Code is working fine with all formats
This commit is contained in:
Gregory Hainaut 2016-11-04 23:02:49 +01:00
parent 437afbbbf3
commit 3d65312999
1 changed files with 1 additions and 7 deletions

View File

@ -225,13 +225,7 @@ GSTexture* GSRendererHW::GetOutput(int i, int& y_offset)
t = rt->m_texture; t = rt->m_texture;
int delta = TEX0.TBP0 - rt->m_TEX0.TBP0; int delta = TEX0.TBP0 - rt->m_TEX0.TBP0;
if (delta > 0) { if (delta > 0 && DISPFB.FBW != 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
int pages = delta >> 5u; int pages = delta >> 5u;
int y_pages = pages / DISPFB.FBW; int y_pages = pages / DISPFB.FBW;
y_offset = y_pages * GSLocalMemory::m_psm[DISPFB.PSM].pgs.y; y_offset = y_pages * GSLocalMemory::m_psm[DISPFB.PSM].pgs.y;