stvvdp1.cpp: fix line / polyline drawing (Die Hard Arcade wireframe map) [Angelo Salese]

This commit is contained in:
angelosa 2017-10-23 09:57:51 +02:00
parent 860bae6ac1
commit ddb82d41b1

View File

@ -1060,7 +1060,8 @@ void saturn_state::stv_vdp1_set_drawpixel( void )
return;
}
if (sprite_type == 4 && ((stv2_current_sprite.CMDPMOD & 0x7) == 0))
// polygon / polyline / line with replace case
if (sprite_type & 4 && ((stv2_current_sprite.CMDPMOD & 0x7) == 0))
{
drawpixel = &saturn_state::drawpixel_poly;
}