summaryrefslogtreecommitdiffstats
path: root/src/mame
diff options
context:
space:
mode:
authorGravatarGravatar Angelo Salese <angelosa@users.noreply.github.com>2013-02-07 20:16:51 +0000
committerGravatarGravatar Angelo Salese <angelosa@users.noreply.github.com>2013-02-07 20:16:51 +0000
commit095eaa68e85dbe42dee7fdb97a43ca2117c8432e (patch) (github)
treef23c66c7de8e4fb5011202a6ed12f54bfe41a45c /src/mame
parent4cf361a6cad6e0ae699cdc4a6973eac85ec7aa46 (diff)
downloadmame-095eaa68e85dbe42dee7fdb97a43ca2117c8432e.tar.bz2
mame-095eaa68e85dbe42dee7fdb97a43ca2117c8432e.zip
Fixed another regression, urgh
Diffstat (limited to 'src/mame')
-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);