summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/dreambal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dreambal.cpp')
-rw-r--r--src/mame/drivers/dreambal.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/dreambal.cpp b/src/mame/drivers/dreambal.cpp
index 1d5898dd323..58ad56e82c8 100644
--- a/src/mame/drivers/dreambal.cpp
+++ b/src/mame/drivers/dreambal.cpp
@@ -35,8 +35,8 @@ lamps?
class dreambal_state : public driver_device
{
public:
- dreambal_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ dreambal_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_deco104(*this, "ioprot104"),
m_deco_tilegen1(*this, "tilegen1"),
@@ -333,10 +333,10 @@ MACHINE_CONFIG_START(dreambal_state::dreambal)
MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT) // 93lc46b
- 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"))
+ 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");
MCFG_DEVICE_ADD("tilegen1", DECO16IC, 0)
MCFG_DECO16IC_SPLIT(0)