summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/alphatpx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/alphatpx.cpp')
-rw-r--r--src/mame/drivers/alphatpx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/alphatpx.cpp b/src/mame/drivers/alphatpx.cpp
index 4f6c6a9578c..8020a1e2543 100644
--- a/src/mame/drivers/alphatpx.cpp
+++ b/src/mame/drivers/alphatpx.cpp
@@ -1232,7 +1232,7 @@ MACHINE_CONFIG_START(alphatp_12_state::alphatp2)
m_crtc->vsyn_callback().set_inputline("maincpu", I8085_RST65_LINE).exor(1);
m_crtc->set_screen("screen");
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_alphatp3)
+ GFXDECODE(config, "gfxdecode", m_palette, gfx_alphatp3);
// sound hardware
SPEAKER(config, "mono").front_center();
@@ -1309,7 +1309,7 @@ MACHINE_CONFIG_START(alphatp_34_state::alphatp3)
m_crtc->vsyn_callback().set_inputline("maincpu", I8085_RST65_LINE).exor(1);
m_crtc->set_screen("screen");
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_alphatp3)
+ GFXDECODE(config, "gfxdecode", m_palette, gfx_alphatp3);
// sound hardware
SPEAKER(config, "mono").front_center();