summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/eprom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/eprom.cpp')
-rw-r--r--src/mame/drivers/eprom.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/eprom.cpp b/src/mame/drivers/eprom.cpp
index 8383a941b6a..f661dd12d49 100644
--- a/src/mame/drivers/eprom.cpp
+++ b/src/mame/drivers/eprom.cpp
@@ -402,7 +402,7 @@ MACHINE_CONFIG_START(eprom_state::eprom)
WATCHDOG_TIMER(config, "watchdog");
/* video hardware */
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_eprom)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_eprom);
MCFG_PALETTE_ADD("palette", 2048)
MCFG_TILEMAP_ADD_STANDARD("playfield", "gfxdecode", 2, eprom_state, get_playfield_tile_info, 8,8, SCAN_COLS, 64,64)
@@ -446,7 +446,7 @@ MACHINE_CONFIG_START(eprom_state::klaxp)
WATCHDOG_TIMER(config, "watchdog");
/* video hardware */
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_eprom)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_eprom);
MCFG_PALETTE_ADD("palette", 2048)
MCFG_TILEMAP_ADD_STANDARD("playfield", "gfxdecode", 2, eprom_state, get_playfield_tile_info, 8,8, SCAN_COLS, 64,64)
@@ -495,7 +495,7 @@ MACHINE_CONFIG_START(eprom_state::guts)
WATCHDOG_TIMER(config, "watchdog");
/* video hardware */
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_guts)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_guts);
MCFG_PALETTE_ADD("palette", 2048)
MCFG_TILEMAP_ADD_STANDARD("playfield", "gfxdecode", 2, eprom_state, guts_get_playfield_tile_info, 8,8, SCAN_COLS, 64,64)