diff options
Diffstat (limited to 'src/mame/drivers/othunder.cpp')
-rw-r--r-- | src/mame/drivers/othunder.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/othunder.cpp b/src/mame/drivers/othunder.cpp index 4ea806dd725..056e33c039b 100644 --- a/src/mame/drivers/othunder.cpp +++ b/src/mame/drivers/othunder.cpp @@ -644,14 +644,14 @@ MACHINE_CONFIG_START(othunder_state::othunder) MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_othunder) MCFG_PALETTE_ADD("palette", 4096) - MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) - MCFG_TC0100SCN_GFX_REGION(1) - MCFG_TC0100SCN_TX_REGION(2) - MCFG_TC0100SCN_OFFSETS(4, 0) - MCFG_TC0100SCN_GFXDECODE("gfxdecode") - MCFG_TC0100SCN_PALETTE("palette") - - MCFG_DEVICE_ADD("tc0110pcr", TC0110PCR, 0, "palette") + TC0100SCN(config, m_tc0100scn, 0); + m_tc0100scn->set_gfx_region(1); + m_tc0100scn->set_tx_region(2); + m_tc0100scn->set_offsets(4, 0); + m_tc0100scn->set_gfxdecode_tag(m_gfxdecode); + m_tc0100scn->set_palette_tag(m_palette); + + TC0110PCR(config, m_tc0110pcr, 0, m_palette); /* sound hardware */ SPEAKER(config, "speaker").front_center(); |