From ddb82d41b184bc9d036d4108ef9b365009659a3c Mon Sep 17 00:00:00 2001 From: angelosa Date: Mon, 23 Oct 2017 09:57:51 +0200 Subject: stvvdp1.cpp: fix line / polyline drawing (Die Hard Arcade wireframe map) [Angelo Salese] --- src/devices/video/stvvdp1.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/devices/video/stvvdp1.cpp b/src/devices/video/stvvdp1.cpp index ad350718e39..c731041069f 100644 --- a/src/devices/video/stvvdp1.cpp +++ b/src/devices/video/stvvdp1.cpp @@ -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; } -- cgit v1.2.3