summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/galivan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/galivan.c')
-rw-r--r--src/mame/drivers/galivan.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/drivers/galivan.c b/src/mame/drivers/galivan.c
index a7b1b14c328..358879b2f27 100644
--- a/src/mame/drivers/galivan.c
+++ b/src/mame/drivers/galivan.c
@@ -437,8 +437,9 @@ static MACHINE_CONFIG_START( galivan, galivan_state )
MCFG_SCREEN_VBLANK_DEVICE("spriteram", buffered_spriteram8_device, vblank_copy_rising)
MCFG_GFXDECODE_ADD("gfxdecode", galivan)
- MCFG_PALETTE_LENGTH(8*16+16*16+256*16)
-
+ MCFG_PALETTE_ADD("palette", 8*16+16*16+256*16)
+ MCFG_PALETTE_INIT_OWNER(galivan_state, galivan)
+
MCFG_VIDEO_START_OVERRIDE(galivan_state,galivan)
/* sound hardware */
@@ -482,7 +483,8 @@ static MACHINE_CONFIG_START( ninjemak, galivan_state )
MCFG_SCREEN_VBLANK_DEVICE("spriteram", buffered_spriteram8_device, vblank_copy_rising)
MCFG_GFXDECODE_ADD("gfxdecode", galivan)
- MCFG_PALETTE_LENGTH(8*16+16*16+256*16)
+ MCFG_PALETTE_ADD("palette", 8*16+16*16+256*16)
+ MCFG_PALETTE_INIT_OWNER(galivan_state, galivan)
MCFG_VIDEO_START_OVERRIDE(galivan_state,ninjemak)