diff options
Diffstat (limited to 'src/mame/drivers/dietgo.cpp')
-rw-r--r-- | src/mame/drivers/dietgo.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/dietgo.cpp b/src/mame/drivers/dietgo.cpp index 667bc2a9a90..9ce2b3f3273 100644 --- a/src/mame/drivers/dietgo.cpp +++ b/src/mame/drivers/dietgo.cpp @@ -252,13 +252,13 @@ MACHINE_CONFIG_START(dietgo_state::dietgo) MCFG_DECO_SPRITE_GFX_REGION(2) MCFG_DECO_SPRITE_GFXDECODE("gfxdecode") - MCFG_DECO104_ADD("ioprot104") - MCFG_DECO146_IN_PORTA_CB(IOPORT("INPUTS")) - MCFG_DECO146_IN_PORTB_CB(IOPORT("SYSTEM")) - MCFG_DECO146_IN_PORTC_CB(IOPORT("DSW")) - MCFG_DECO146_SOUNDLATCH_IRQ_CB(INPUTLINE("audiocpu", 0)) - MCFG_DECO146_SET_INTERFACE_SCRAMBLE_INTERLEAVE - MCFG_DECO146_SET_USE_MAGIC_ADDRESS_XOR + DECO104PROT(config, m_deco104, 0); + m_deco104->port_a_cb().set_ioport("INPUTS"); + m_deco104->port_b_cb().set_ioport("SYSTEM"); + m_deco104->port_c_cb().set_ioport("DSW"); + m_deco104->soundlatch_irq_cb().set_inputline(m_audiocpu, 0); + m_deco104->set_interface_scramble_interleave(); + m_deco104->set_use_magic_read_address_xor(true); /* sound hardware */ SPEAKER(config, "mono").front_center(); |