summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/punchout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/punchout.cpp')
-rw-r--r--src/mame/drivers/punchout.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/punchout.cpp b/src/mame/drivers/punchout.cpp
index cc2d50e0fc1..3feeffa8e4c 100644
--- a/src/mame/drivers/punchout.cpp
+++ b/src/mame/drivers/punchout.cpp
@@ -594,14 +594,14 @@ static const gfx_layout charlayout_3bpp =
8*8
};
-static GFXDECODE_START( punchout )
+static GFXDECODE_START( gfx_punchout )
GFXDECODE_ENTRY( "gfx1", 0, charlayout_2bpp, 0x000, 0x100/4 ) // bg chars (top monitor only)
GFXDECODE_ENTRY( "gfx2", 0, charlayout_2bpp, 0x100, 0x100/4 ) // bg chars (bottom monitor only)
GFXDECODE_ENTRY( "gfx3", 0, charlayout_3bpp, 0x000, 0x200/8 ) // big sprite #1 (top and bottom monitor)
GFXDECODE_ENTRY( "gfx4", 0, charlayout_2bpp, 0x100, 0x100/4 ) // big sprite #2 (bottom monitor only)
GFXDECODE_END
-static GFXDECODE_START( armwrest )
+static GFXDECODE_START( gfx_armwrest )
GFXDECODE_ENTRY( "gfx1", 0, charlayout_2bpp, 0x000, 0x200/4 ) // bg chars (top and bottom monitor)
GFXDECODE_ENTRY( "gfx2", 0, charlayout_3bpp, 0x100, 0x100/8 ) // fg chars (bottom monitor only)
GFXDECODE_ENTRY( "gfx3", 0, charlayout_3bpp, 0x000, 0x200/8 ) // big sprite #1 (top and bottom monitor)
@@ -645,7 +645,7 @@ MACHINE_CONFIG_START(punchout_state::punchout)
MCFG_ADDRESSABLE_LATCH_Q7_OUT_CB(NOOP) // enable NVRAM?
/* video hardware */
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", punchout)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_punchout)
MCFG_PALETTE_ADD("palette", 0x200)
MCFG_DEFAULT_LAYOUT(layout_dualhovu)
@@ -704,7 +704,7 @@ MACHINE_CONFIG_START(punchout_state::armwrest)
MCFG_DEVICE_PROGRAM_MAP(armwrest_map)
/* video hardware */
- MCFG_GFXDECODE_MODIFY("gfxdecode", armwrest)
+ MCFG_GFXDECODE_MODIFY("gfxdecode", gfx_armwrest)
MCFG_VIDEO_START_OVERRIDE(punchout_state, armwrest)
MCFG_SCREEN_MODIFY("top")