summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/digijet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/digijet.cpp')
-rw-r--r--src/mame/drivers/digijet.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/digijet.cpp b/src/mame/drivers/digijet.cpp
index 21da2bc0113..f7644ae3353 100644
--- a/src/mame/drivers/digijet.cpp
+++ b/src/mame/drivers/digijet.cpp
@@ -50,11 +50,12 @@ void digijet_state::io_map(address_map &map)
static INPUT_PORTS_START( digijet )
INPUT_PORTS_END
-MACHINE_CONFIG_START(digijet_state::digijet)
+void digijet_state::digijet(machine_config &config)
+{
/* basic machine hardware */
- MCFG_DEVICE_ADD(I8049_TAG, I8049, XTAL(11'000'000))
- MCFG_DEVICE_IO_MAP(io_map)
-MACHINE_CONFIG_END
+ I8049(config, m_maincpu, XTAL(11'000'000));
+ m_maincpu->set_addrmap(AS_IO, &digijet_state::io_map);
+}
ROM_START( digijet )
ROM_REGION( 0x800, I8049_TAG, 0 )