summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-04-09 16:30:32 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-04-09 16:30:32 +0000
commit6dd2c248cdfaea95611ef4ebc067a70c5b9f1596 (patch)
tree25b67a24eda2fe7f09a25c6ece5f84ceb195db5c
parent8f028b0f0557b1b60021235d431113a160a29c77 (diff)
Reverted patch.
-rw-r--r--src/mame/video/mcatadv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/mcatadv.c b/src/mame/video/mcatadv.c
index e87860178f9..088568c9891 100644
--- a/src/mame/video/mcatadv.c
+++ b/src/mame/video/mcatadv.c
@@ -132,13 +132,13 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
if((priline[drawxpos] < pri)) {
if (offset >= 0x500000*2) offset = 0;
pix = sprdata[offset/2];
-
+
if (offset & 1) pix = pix >> 4;
pix &= 0x0f;
if ((drawxpos >= cliprect->min_x) && (drawxpos <= cliprect->max_x) && pix)
- destline[drawxpos] = (pix + pen);
- }
+ destline[drawxpos] = (pix + (pen << 4));
+ }
offset++;
}
}