From a588f61a8a2e4c80c31d7da5099c5adebce11ace Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Thu, 25 Jun 2015 09:49:11 +0200 Subject: [PATCH] gsdx: add an assert for unsupported case --- plugins/GSdx/GSRendererHW.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/GSdx/GSRendererHW.cpp b/plugins/GSdx/GSRendererHW.cpp index 6242005bb7..c0754dbaa0 100644 --- a/plugins/GSdx/GSRendererHW.cpp +++ b/plugins/GSdx/GSRendererHW.cpp @@ -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)