summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author angelosa <salese_corp_ltd@email.it>2017-10-23 09:57:51 +0200
committer angelosa <salese_corp_ltd@email.it>2017-10-23 09:57:51 +0200
commitddb82d41b184bc9d036d4108ef9b365009659a3c (patch)
treed408a37c66b1b21a0adca6f6052d14057690e1f1
parent860bae6ac16f9fc799a9fb9a27ff7df6c0f39055 (diff)
stvvdp1.cpp: fix line / polyline drawing (Die Hard Arcade wireframe map) [Angelo Salese]
-rw-r--r--src/devices/video/stvvdp1.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}