summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-02-09 14:16:23 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-02-09 14:16:23 -0500
commitf9528c037affb105bcb30fab1edc2c48c050aa41 (patch)
treefd164a3ae8c7fdb32c9b20ce841453a449ad3f80
parent8e4e897f1d992f8d10b881b8c73753ce1e4a6aed (diff)
decocass.spp: Invert sprite/sprite priority (seems to help coozumou)
-rw-r--r--src/mame/video/decocass.cpp5
1 files 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;