summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/stvvdp1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/stvvdp1.c')
-rw-r--r--src/mame/video/stvvdp1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/stvvdp1.c b/src/mame/video/stvvdp1.c
index c5ea97e45c3..3450849fc58 100644
--- a/src/mame/video/stvvdp1.c
+++ b/src/mame/video/stvvdp1.c
@@ -906,7 +906,7 @@ void saturn_state::drawpixel_generic(int x, int y, int patterndata, int offsetcn
case 0x0008: // mode 1 16 colour lookup table mode (4bits)
// shienryu explosisons (and some enemies) use this mode
pix2 = m_vdp1.gfx_decode[(patterndata+offsetcnt/2) & 0xfffff];
- pix = offsetcnt&1 ? (pix & 0x0f) : ((pix & 0xf0)>>4);
+ pix2 = offsetcnt&1 ? (pix2 & 0x0f) : ((pix2 & 0xf0)>>4);
pix = pix2&1 ?
((((m_vdp1_vram[(((stv2_current_sprite.CMDCOLR&0xffff)*8)>>2)+((pix2&0xfffe)/2)])) & 0x0000ffff) >> 0):
((((m_vdp1_vram[(((stv2_current_sprite.CMDCOLR&0xffff)*8)>>2)+((pix2&0xfffe)/2)])) & 0xffff0000) >> 16);