mirror of
https://github.com/holub/mame
synced 2025-10-07 17:27:06 +03:00
update previous fix: this fixes palette problem in thunderj
This commit is contained in:
parent
fec9657003
commit
c04a52e429
@ -264,9 +264,9 @@ void atari_motion_objects_device::apply_stain(bitmap_ind16 &bitmap, UINT16 *pf,
|
|||||||
for ( ; x < bitmap.width(); x++)
|
for ( ; x < bitmap.width(); x++)
|
||||||
{
|
{
|
||||||
pf[x] |= 0x400;
|
pf[x] |= 0x400;
|
||||||
if (mo[x] == 0xffff || (offnext && (mo[x] & START_MARKER) != START_MARKER))
|
if (offnext && ((mo[x] == 0xffff) || (mo[x] & START_MARKER) != START_MARKER))
|
||||||
break;
|
break;
|
||||||
offnext = ((mo[x] & END_MARKER) == END_MARKER);
|
offnext = (mo[x] != 0xffff) && ((mo[x] & END_MARKER) == END_MARKER);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user