From 1e05e8374f219e9d817ffe1b4ce3b3f6933e3710 Mon Sep 17 00:00:00 2001 From: angelosa Date: Fri, 12 Jan 2018 05:23:07 +0100 Subject: [PATCH] MT03790 (nw) --- src/mame/video/ms32.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/mame/video/ms32.cpp b/src/mame/video/ms32.cpp index e9ccaaaa417..64d6b5b39a1 100644 --- a/src/mame/video/ms32.cpp +++ b/src/mame/video/ms32.cpp @@ -554,6 +554,7 @@ uint32_t ms32_state::screen_update_ms32(screen_device &screen, bitmap_rgb32 &bit else if (primask == 0xc0) { dstptr_bitmap[xx] = paldata[machine().rand()&0xfff]; + popmessage("unhandled priority type %02x, contact MAMEdev",primask); } else if (primask == 0xf0) { @@ -684,11 +685,17 @@ uint32_t ms32_state::screen_update_ms32(screen_device &screen, bitmap_rgb32 &bit dstptr_bitmap[xx] = paldata[src_tile]; // assumed } } - + else if(primask == 0xf8) // gratia ending + { + if (spridat & 0xff && src_tilepri == 0x02) + dstptr_bitmap[xx] = paldata[spridat]; + else + dstptr_bitmap[xx] = paldata[src_tile]; + } else { dstptr_bitmap[xx] = 0; - logerror("unhandled priority type %02x\n",primask); + popmessage("unhandled priority type %02x, contact MAMEdev",primask); }