summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/mustache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/mustache.c')
-rw-r--r--src/mame/video/mustache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/mustache.c b/src/mame/video/mustache.c
index 104dba15274..5753e4822f2 100644
--- a/src/mame/video/mustache.c
+++ b/src/mame/video/mustache.c
@@ -10,7 +10,7 @@
#include "includes/mustache.h"
-void mustache_state::palette_init()
+PALETTE_INIT_MEMBER(mustache_state, mustache)
{
const UINT8 *color_prom = memregion("proms")->base();
int i;
@@ -40,7 +40,7 @@ void mustache_state::palette_init()
bit3 = (color_prom[i + 512] >> 3) & 0x01;
b = 0x0e * bit0 + 0x1f * bit1 + 0x43 * bit2 + 0x8f * bit3;
- palette_set_color(machine(),i,rgb_t(r,g,b));
+ palette.set_pen_color(i,rgb_t(r,g,b));
}
}
@@ -130,7 +130,7 @@ void mustache_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
sy = 240 - sy;
}
- gfx->transpen(bitmap,clip,
+ gfx->transpen(m_palette,bitmap,clip,
code,
color,
flip_screen(),flip_screen(),