gsdx: add an assert for unsupported case

This commit is contained in:
Gregory Hainaut 2015-06-25 09:49:11 +02:00
parent 9802ba6621
commit a588f61a8a
1 changed files with 1 additions and 0 deletions

View File

@ -402,6 +402,7 @@ void GSRendererHW::Draw()
}
// Both input and output are 16 bits but texture was initially 32 bits!
m_texture_shuffle = ((context->FRAME.PSM & 0x2) && ((context->TEX0.PSM & 3) == 2) && (m_vt.m_primclass == GS_SPRITE_CLASS) && tex->m_32_bits_fmt);
ASSERT(!m_texture_shuffle || (context->CLAMP.WMS < 3 && context->CLAMP.WMT < 3));
}
if(s_dump)