mirror of
https://github.com/holub/mame
synced 2025-05-18 03:35:03 +03:00
Merge pull request #5165 from cam900/patch-99
decmxc06.cpp : Minor fixes
This commit is contained in:
commit
70ddaa3888
@ -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
|
int chainoffs = priority ? offs - ((w - 1) * 4) : offs; // or bandit breaks
|
||||||
for (int x = 0; x < w; x++)
|
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..
|
// maybe, birdie try appears to specify the base code for each part..
|
||||||
u16 code = spriteram[chainoffs + 1] & 0x1fff;
|
u16 code = spriteram[chainoffs + 1] & 0x1fff;
|
||||||
|
Loading…
Reference in New Issue
Block a user