From 6a57b2c85a5242a03ab87dbf5f099f6069eedc0f Mon Sep 17 00:00:00 2001 From: "Alex W. Jackson" Date: Thu, 13 Feb 2014 00:29:43 +0000 Subject: [PATCH] Fix MT5440 [Alex Jackson] --- src/emu/emupal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/emupal.c b/src/emu/emupal.c index a1728aa823d..8de90e722e1 100644 --- a/src/emu/emupal.c +++ b/src/emu/emupal.c @@ -395,7 +395,7 @@ void colortable_palette_set_color(colortable_t *ctable, UINT32 entry, rgb_t colo assert(entry < ctable->palentries); /* alpha doesn't matter */ - color &= 0xffffff; + color |= 0xff000000; /* update if it has changed */ if (ctable->palette[entry] != color)