diff options
author | 2015-10-11 02:05:02 +0200 | |
---|---|---|
committer | 2015-10-11 02:05:37 +0200 | |
commit | c04a52e4294632e7fecec93cbba7740e9f04c3d1 (patch) | |
tree | dd08c8c164575162de40b93ecd7538e52bf3113a | |
parent | fec9657003c34944daa53c5668c32d058752358e (diff) |
update previous fix: this fixes palette problem in thunderj
-rw-r--r-- | src/mame/video/atarimo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/atarimo.c b/src/mame/video/atarimo.c index df1df174e9e..ea33fcbbf2d 100644 --- a/src/mame/video/atarimo.c +++ b/src/mame/video/atarimo.c @@ -264,9 +264,9 @@ void atari_motion_objects_device::apply_stain(bitmap_ind16 &bitmap, UINT16 *pf, for ( ; x < bitmap.width(); x++) { 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; - offnext = ((mo[x] & END_MARKER) == END_MARKER); + offnext = (mo[x] != 0xffff) && ((mo[x] & END_MARKER) == END_MARKER); } } |