From 9924aaa3c79f18a5de6f16f723280918858eb988 Mon Sep 17 00:00:00 2001 From: cam900 Date: Thu, 6 Jun 2019 10:30:53 +0900 Subject: decmxc06.cpp : Minor fixes --- src/mame/video/decmxc06.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/video/decmxc06.cpp b/src/mame/video/decmxc06.cpp index 4ee3e9e868c..6d2a1522dfa 100644 --- a/src/mame/video/decmxc06.cpp +++ b/src/mame/video/decmxc06.cpp @@ -105,7 +105,7 @@ void deco_mxc06_device::draw_sprites(screen_device &screen, bitmap_ind16 &bitmap int chainoffs = priority ? offs - ((w - 1) * 4) : offs; // or bandit breaks for (int x = 0; x < w; x++) { - if (chainoffs < size) + if ((chainoffs < size) && (chainoffs >= 0)) { // maybe, birdie try appears to specify the base code for each part.. u16 code = spriteram[chainoffs + 1] & 0x1fff; -- cgit v1.2.3