summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gsword.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gsword.c')
-rw-r--r--src/mame/drivers/gsword.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/gsword.c b/src/mame/drivers/gsword.c
index 175c45d5d2e..b03d34a889d 100644
--- a/src/mame/drivers/gsword.c
+++ b/src/mame/drivers/gsword.c
@@ -686,9 +686,9 @@ static MACHINE_CONFIG_START( gsword, gsword_state )
MCFG_SCREEN_UPDATE_DRIVER(gsword_state, screen_update_gsword)
MCFG_GFXDECODE_ADD("gfxdecode", gsword)
- MCFG_PALETTE_LENGTH(64*4+64*4)
+ MCFG_PALETTE_ADD("palette", 64*4+64*4)
- MCFG_PALETTE_INIT_OVERRIDE(gsword_state,gsword)
+ MCFG_PALETTE_INIT_OWNER(gsword_state,gsword)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
@@ -729,9 +729,9 @@ static MACHINE_CONFIG_START( josvolly, gsword_state )
MCFG_SCREEN_UPDATE_DRIVER(gsword_state, screen_update_gsword)
MCFG_GFXDECODE_ADD("gfxdecode", gsword)
- MCFG_PALETTE_LENGTH(64*4+64*4)
+ MCFG_PALETTE_ADD("palette", 64*4+64*4)
- MCFG_PALETTE_INIT_OVERRIDE(gsword_state,josvolly)
+ MCFG_PALETTE_INIT_OWNER(gsword_state,josvolly)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")