diff options
Diffstat (limited to 'src/mame/drivers/vlc.c')
-rw-r--r-- | src/mame/drivers/vlc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/vlc.c b/src/mame/drivers/vlc.c index 8ab405851e1..cb2aa7ff8e2 100644 --- a/src/mame/drivers/vlc.c +++ b/src/mame/drivers/vlc.c @@ -179,7 +179,7 @@ public: tilemap_t *m_bg_tilemap; virtual void video_start(); UINT32 screen_update_nevada(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - virtual void palette_init(); + DECLARE_PALETTE_INIT(nevada); DECLARE_WRITE_LINE_MEMBER(duart18_irq_handler); DECLARE_WRITE_LINE_MEMBER(duart39_irq_handler); @@ -311,7 +311,7 @@ UINT32 nevada_state::screen_update_nevada(screen_device &screen, bitmap_ind16 &b } /***************************************************************************/ -void nevada_state::palette_init() +PALETTE_INIT_MEMBER(nevada_state, nevada) { // Palette init } @@ -632,7 +632,8 @@ static MACHINE_CONFIG_START( nevada, nevada_state ) MCFG_SCREEN_UPDATE_DRIVER(nevada_state, screen_update_nevada) MCFG_GFXDECODE_ADD("gfxdecode", nevada) - MCFG_PALETTE_LENGTH(256) + MCFG_PALETTE_ADD("palette", 256) + MCFG_PALETTE_INIT_OWNER(nevada_state, nevada) MCFG_MC6845_ADD("crtc", MC6845, "screen", MC6845_CLOCK, mc6845_intf) |