summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/gamate/rom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/gamate/rom.cpp')
-rw-r--r--src/devices/bus/gamate/rom.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/devices/bus/gamate/rom.cpp b/src/devices/bus/gamate/rom.cpp
index 74af9e76160..cda37716b5f 100644
--- a/src/devices/bus/gamate/rom.cpp
+++ b/src/devices/bus/gamate/rom.cpp
@@ -168,10 +168,9 @@ WRITE8_MEMBER(gamate_rom_4in1_device::write_rom)
}
}
-void gamate_rom_plain_device::device_add_mconfig(machine_config &config)
-{
- GAMATE_PROT(config, m_protection, 0);
-}
+MACHINE_CONFIG_START(gamate_rom_plain_device::device_add_mconfig)
+ MCFG_DEVICE_ADD("protection", GAMATE_PROT, 0)
+MACHINE_CONFIG_END
/*-------------------------------------------------