summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cave.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cave.c')
-rw-r--r--src/mame/drivers/cave.c64
1 files changed, 32 insertions, 32 deletions
diff --git a/src/mame/drivers/cave.c b/src/mame/drivers/cave.c
index 09e02494b0e..ea6c4e729a5 100644
--- a/src/mame/drivers/cave.c
+++ b/src/mame/drivers/cave.c
@@ -2006,8 +2006,8 @@ static MACHINE_CONFIG_START( dfeveron, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", dfeveron)
- MCFG_PALETTE_LENGTH(0x8000) /* $8000 palette entries for consistency with the other games */
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,dfeveron)
+ MCFG_PALETTE_ADD("palette", 0x8000) /* $8000 palette entries for consistency with the other games */
+ MCFG_PALETTE_INIT_OWNER(cave_state,dfeveron)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_2_layers)
@@ -2048,8 +2048,8 @@ static MACHINE_CONFIG_START( ddonpach, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", ddonpach)
- MCFG_PALETTE_LENGTH(0x8000 + 0x40*16) // $400 extra entries for layers 1&2
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,ddonpach)
+ MCFG_PALETTE_ADD("palette", 0x8000 + 0x40*16) // $400 extra entries for layers 1&2
+ MCFG_PALETTE_INIT_OWNER(cave_state,ddonpach)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_3_layers)
@@ -2094,8 +2094,8 @@ static MACHINE_CONFIG_START( donpachi, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", donpachi)
- MCFG_PALETTE_LENGTH(0x8000) /* $8000 palette entries for consistency with the other games */
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,dfeveron)
+ MCFG_PALETTE_ADD("palette", 0x8000) /* $8000 palette entries for consistency with the other games */
+ MCFG_PALETTE_INIT_OWNER(cave_state,dfeveron)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_3_layers)
@@ -2140,8 +2140,8 @@ static MACHINE_CONFIG_START( esprade, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", esprade)
- MCFG_PALETTE_LENGTH(0x8000)
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,cave)
+ MCFG_PALETTE_ADD("palette", 0x8000)
+ MCFG_PALETTE_INIT_OWNER(cave_state,cave)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_3_layers)
@@ -2180,8 +2180,8 @@ static MACHINE_CONFIG_START( gaia, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", esprade)
- MCFG_PALETTE_LENGTH(0x8000)
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,cave)
+ MCFG_PALETTE_ADD("palette", 0x8000)
+ MCFG_PALETTE_INIT_OWNER(cave_state,cave)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_3_layers)
@@ -2221,8 +2221,8 @@ static MACHINE_CONFIG_START( guwange, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", esprade)
- MCFG_PALETTE_LENGTH(0x8000)
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,cave)
+ MCFG_PALETTE_ADD("palette", 0x8000)
+ MCFG_PALETTE_INIT_OWNER(cave_state,cave)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_3_layers)
@@ -2265,8 +2265,8 @@ static MACHINE_CONFIG_START( hotdogst, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", hotdogst)
- MCFG_PALETTE_LENGTH(0x8000) /* $8000 palette entries for consistency with the other games */
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,dfeveron)
+ MCFG_PALETTE_ADD("palette", 0x8000) /* $8000 palette entries for consistency with the other games */
+ MCFG_PALETTE_INIT_OWNER(cave_state,dfeveron)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_3_layers)
@@ -2318,8 +2318,8 @@ static MACHINE_CONFIG_START( korokoro, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", korokoro)
- MCFG_PALETTE_LENGTH(0x8000) /* $8000 palette entries for consistency with the other games */
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,korokoro)
+ MCFG_PALETTE_ADD("palette", 0x8000) /* $8000 palette entries for consistency with the other games */
+ MCFG_PALETTE_INIT_OWNER(cave_state,korokoro)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_1_layer)
@@ -2372,8 +2372,8 @@ static MACHINE_CONFIG_START( mazinger, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", mazinger)
- MCFG_PALETTE_LENGTH(0x8000) /* $8000 palette entries for consistency with the other games */
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,mazinger)
+ MCFG_PALETTE_ADD("palette", 0x8000) /* $8000 palette entries for consistency with the other games */
+ MCFG_PALETTE_INIT_OWNER(cave_state,mazinger)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_2_layers)
@@ -2431,8 +2431,8 @@ static MACHINE_CONFIG_START( metmqstr, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", donpachi)
- MCFG_PALETTE_LENGTH(0x8000) /* $8000 palette entries for consistency with the other games */
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,dfeveron)
+ MCFG_PALETTE_ADD("palette", 0x8000) /* $8000 palette entries for consistency with the other games */
+ MCFG_PALETTE_INIT_OWNER(cave_state,dfeveron)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_3_layers)
@@ -2488,8 +2488,8 @@ static MACHINE_CONFIG_START( pacslot, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", tjumpman)
- MCFG_PALETTE_LENGTH(0x8000)
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,cave)
+ MCFG_PALETTE_ADD("palette", 0x8000)
+ MCFG_PALETTE_INIT_OWNER(cave_state,cave)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_1_layer)
@@ -2557,8 +2557,8 @@ static MACHINE_CONFIG_START( ppsatan, cave_state )
MCFG_TIMER_DRIVER_ADD("int_timer_right", cave_state, cave_vblank_start_right)
MCFG_GFXDECODE_ADD("gfxdecode", ppsatan)
- MCFG_PALETTE_LENGTH(0x8000)
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,ppsatan)
+ MCFG_PALETTE_ADD("palette", 0x8000)
+ MCFG_PALETTE_INIT_OWNER(cave_state,ppsatan)
MCFG_DEFAULT_LAYOUT(layout_ppsatan)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_3_layers)
@@ -2609,8 +2609,8 @@ static MACHINE_CONFIG_START( pwrinst2, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", pwrinst2)
- MCFG_PALETTE_LENGTH(0x8000+0x2800)
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,pwrinst2)
+ MCFG_PALETTE_ADD("palette", 0x8000+0x2800)
+ MCFG_PALETTE_INIT_OWNER(cave_state,pwrinst2)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_4_layers)
@@ -2673,8 +2673,8 @@ static MACHINE_CONFIG_START( sailormn, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", sailormn)
- MCFG_PALETTE_LENGTH(0x8000) /* $8000 palette entries for consistency with the other games */
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,sailormn) // 4 bit sprites, 6 bit tiles
+ MCFG_PALETTE_ADD("palette", 0x8000) /* $8000 palette entries for consistency with the other games */
+ MCFG_PALETTE_INIT_OWNER(cave_state,sailormn) // 4 bit sprites, 6 bit tiles
MCFG_VIDEO_START_OVERRIDE(cave_state,sailormn_3_layers) /* Layer 2 has 1 banked ROM */
@@ -2729,8 +2729,8 @@ static MACHINE_CONFIG_START( tjumpman, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", tjumpman)
- MCFG_PALETTE_LENGTH(0x8000)
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,cave)
+ MCFG_PALETTE_ADD("palette", 0x8000)
+ MCFG_PALETTE_INIT_OWNER(cave_state,cave)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_1_layer)
@@ -2770,9 +2770,9 @@ static MACHINE_CONFIG_START( uopoko, cave_state )
MCFG_SCREEN_UPDATE_DRIVER(cave_state, screen_update_cave)
MCFG_GFXDECODE_ADD("gfxdecode", uopoko)
- MCFG_PALETTE_LENGTH(0x8000)
+ MCFG_PALETTE_ADD("palette", 0x8000)
- MCFG_PALETTE_INIT_OVERRIDE(cave_state,cave)
+ MCFG_PALETTE_INIT_OWNER(cave_state,cave)
MCFG_VIDEO_START_OVERRIDE(cave_state,cave_1_layer)
/* sound hardware */