summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/battlex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/battlex.c')
-rw-r--r--src/mame/drivers/battlex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/battlex.c b/src/mame/drivers/battlex.c
index 764d53842af..4e8831d7aa5 100644
--- a/src/mame/drivers/battlex.c
+++ b/src/mame/drivers/battlex.c
@@ -307,9 +307,9 @@ static DRIVER_INIT( battlex )
int bit, col;
bit = (mskd[outcount * 8 + linecount] & bitmask) >> bitcount;
- if (bit)
+ if (bit)
col = (cold[outcount * 8 + (linecount & ~1) + (bitcount / 4)] & 0x0f) << 4;
- else
+ else
col = (cold[outcount * 8 + (linecount & ~1) + (bitcount / 4)] & 0xf0);
dest[outcount * 32 + linecount * 4 + bitcount /2] |= (col >> (4 * (bitcount & 1)));