summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gunbustr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gunbustr.cpp')
-rw-r--r--src/mame/drivers/gunbustr.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/gunbustr.cpp b/src/mame/drivers/gunbustr.cpp
index f1beed7a5d4..84000dbb49b 100644
--- a/src/mame/drivers/gunbustr.cpp
+++ b/src/mame/drivers/gunbustr.cpp
@@ -260,16 +260,16 @@ MACHINE_CONFIG_START(gunbustr_state::gunbustr)
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
- MCFG_DEVICE_ADD("tc0480scp", TC0480SCP, 0)
- MCFG_TC0480SCP_GFX_REGION(1)
- MCFG_TC0480SCP_TX_REGION(2)
- MCFG_TC0480SCP_OFFSETS(0x20, 0x07)
- MCFG_TC0480SCP_OFFSETS_TX(-1, -1)
- MCFG_TC0480SCP_OFFSETS_FLIP(-1, 0)
- MCFG_TC0480SCP_GFXDECODE("gfxdecode")
+ TC0480SCP(config, m_tc0480scp, 0);
+ m_tc0480scp->set_gfx_region(1);
+ m_tc0480scp->set_tx_region(2);
+ m_tc0480scp->set_offsets(0x20, 0x07);
+ m_tc0480scp->set_offsets_tx(-1, -1);
+ m_tc0480scp->set_offsets_flip(-1, 0);
+ m_tc0480scp->set_gfxdecode_tag(m_gfxdecode);
/* sound hardware */
- MCFG_DEVICE_ADD("taito_en", TAITO_EN, 0)
+ TAITO_EN(config, "taito_en", 0);
MACHINE_CONFIG_END
/***************************************************************************/