summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/namcos21_de.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/namcos21_de.cpp')
-rw-r--r--src/mame/drivers/namcos21_de.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mame/drivers/namcos21_de.cpp b/src/mame/drivers/namcos21_de.cpp
index e85de195659..c2ace71c309 100644
--- a/src/mame/drivers/namcos21_de.cpp
+++ b/src/mame/drivers/namcos21_de.cpp
@@ -511,13 +511,14 @@ private:
};
// driveyes only
-MACHINE_CONFIG_START(namcos21_de_state::driveyes)
- MCFG_DEVICE_ADD("pcb_0", NAMCO_DE_PCB,0)
- MCFG_DEVICE_ADD("pcb_1", NAMCO_DE_PCB,0)
- MCFG_DEVICE_ADD("pcb_2", NAMCO_DE_PCB,0)
+void namcos21_de_state::driveyes(machine_config &config)
+{
+ NAMCO_DE_PCB(config, m_pcb[0], 0);
+ NAMCO_DE_PCB(config, m_pcb[1], 0);
+ NAMCO_DE_PCB(config, m_pcb[2], 0);
- MCFG_DEVICE_ADD("gearbox", NAMCOIO_GEARBOX, 0)
-MACHINE_CONFIG_END
+ NAMCOIO_GEARBOX(config, m_io_gearbox, 0);
+}
// stacks with the DSWs set to left or right screen will show 'receive error' because they want comms from the main screen