diff options
| author | 2009-04-12 12:34:45 +0000 | |
|---|---|---|
| committer | 2009-04-12 12:34:45 +0000 | |
| commit | 02af7929ee46f7c5e57a68e8ae4352c2360c1523 (patch) | |
| tree | 04157b81698422df94e8f49e7612dc8deb2c86fb /src | |
| parent | aa1b8f74fd784448523d84b8214c4094fe3221d1 (diff) | |
munch mobile: removed a not necessary check
Diffstat (limited to 'src')
| -rw-r--r-- | src/mame/drivers/munchmo.c | 1 | ||||
| -rw-r--r-- | src/mame/video/munchmo.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/munchmo.c b/src/mame/drivers/munchmo.c index 0ad8631afc3..44f5be654ba 100644 --- a/src/mame/drivers/munchmo.c +++ b/src/mame/drivers/munchmo.c @@ -7,7 +7,6 @@ 15 MHz crystal Known Issues: - - sprite priority problems - it's unclear if mirroring the videoram chunks is correct behavior - several unmapped registers - sustained sounds (when there should be silence) diff --git a/src/mame/video/munchmo.c b/src/mame/video/munchmo.c index 8eea3ab2933..0d1367d6f14 100644 --- a/src/mame/video/munchmo.c +++ b/src/mame/video/munchmo.c @@ -139,7 +139,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta int sx = mnchmobl_sprite_xpos[ii]; /* XXXXXXX? */ int sy = (ii >> 6) << 5; /* Y YY------ */ sy += (attributes >> 2) & 0x1f; - if( tile_number != 0xff && (attributes & 0x80) ) + if( attributes & 0x80 ) { sx = (sx >> 1) | (tile_number & 0x80); sx = 2 * ((- 32 - scroll - sx) & 0xff) + xadjust; @@ -163,7 +163,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta int sx = mnchmobl_sprite_xpos[ii]; /* XXXXXXX? */ int sy = (ii >> 6) << 5; /* Y YY------ */ sy += (attributes >> 2) & 0x1f; - if( tile_number != 0xff && (attributes & 0x80) ) + if( attributes & 0x80 ) { sx = (sx >> 1) | (tile_number & 0x80); sx = 2 * ((- 32 - scroll - sx) & 0xff) + xadjust; |
