From f9528c037affb105bcb30fab1edc2c48c050aa41 Mon Sep 17 00:00:00 2001 From: AJR Date: Fri, 9 Feb 2018 14:16:23 -0500 Subject: decocass.spp: Invert sprite/sprite priority (seems to help coozumou) --- src/mame/video/decocass.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mame/video/decocass.cpp b/src/mame/video/decocass.cpp index 993be2369d4..a93edf2fbfc 100644 --- a/src/mame/video/decocass.cpp +++ b/src/mame/video/decocass.cpp @@ -524,10 +524,9 @@ void decocass_state::draw_sprites(bitmap_ind16 &bitmap, bitmap_ind8 &priority, c int sprite_y_adjust, int sprite_y_adjust_flip_screen, uint8_t *sprite_ram, int interleave) { - int i,offs; - /* Draw the sprites */ - for (i = 0, offs = 0; i < 8; i++, offs += 4 * interleave) + int offs = 28 * interleave; + for (int i = 0; i < 8; i++, offs -= 4 * interleave) { int sx, sy, flipx, flipy; -- cgit v1.2.3