diff options
author | 2019-06-05 22:13:41 -0400 | |
---|---|---|
committer | 2019-06-05 22:13:41 -0400 | |
commit | 70ddaa3888acb3ffd2f700463ec04cd4291e47ce (patch) | |
tree | 14f8e520d022ed92fc9497cb24a46511cbb316bf | |
parent | 4aa448c758cd226f6bb7bdd01d1fb17a5f9d3af7 (diff) | |
parent | 9924aaa3c79f18a5de6f16f723280918858eb988 (diff) |
Merge pull request #5165 from cam900/patch-99
decmxc06.cpp : Minor fixes
-rw-r--r-- | src/mame/video/decmxc06.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |