summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/liberate.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-01-03 16:11:57 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-01-03 16:11:57 +0000
commitf97d37b7e039eea768e2661d0a9ebb9b0ea59076 (patch)
tree404781c66276c30bce79bf1a854918d2e3599195 /src/mame/video/liberate.c
parenta893708c3dda8bdfb21eb818c45dfcc4ef91ad19 (diff)
Spacing fixes and a version bump to 0.122u3.mame0122u3
Diffstat (limited to 'src/mame/video/liberate.c')
-rw-r--r--src/mame/video/liberate.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/video/liberate.c b/src/mame/video/liberate.c
index 22f88a7c364..4dd885241b4 100644
--- a/src/mame/video/liberate.c
+++ b/src/mame/video/liberate.c
@@ -191,17 +191,17 @@ static void liberate_draw_sprites(running_machine *machine, mame_bitmap *bitmap,
int multi,fx,fy,sx,sy,sy2,code,color;
/*
- Byte 0: 0x01 - ?
- 0x02 - Y flip
- 0x04 - X flip
- 0x08 - Colour?
- 0x10 - Multi sprite set
- 0x60 - Tile (high bits)
- 0x80 - ?
- Byte 1: 0xff - Tile (low bits)
- Byte 2: 0xff - Y position
- Byte 3: 0xff - X position
- */
+ Byte 0: 0x01 - ?
+ 0x02 - Y flip
+ 0x04 - X flip
+ 0x08 - Colour?
+ 0x10 - Multi sprite set
+ 0x60 - Tile (high bits)
+ 0x80 - ?
+ Byte 1: 0xff - Tile (low bits)
+ Byte 2: 0xff - Y position
+ Byte 3: 0xff - X position
+ */
code = spriteram[offs+1] + ((spriteram[offs+0] & 0x60) << 3);
sx = 240 - spriteram[offs+3];
@@ -209,7 +209,7 @@ static void liberate_draw_sprites(running_machine *machine, mame_bitmap *bitmap,
color = ((spriteram[offs+1] & 0x08) >> 3); // ?
fx = spriteram[offs+0] & 0x04;
- fy = spriteram[offs+0] & 0x02;
+ fy = spriteram[offs+0] & 0x02;
multi = spriteram[offs+0] & 0x10;
if (multi && fy==0) sy-=16;