summaryrefslogtreecommitdiffstats
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, 4 insertions, 3 deletions
diff --git a/src/devices/bus/gamate/rom.cpp b/src/devices/bus/gamate/rom.cpp
index cda37716b5f..74af9e76160 100644
--- a/src/devices/bus/gamate/rom.cpp
+++ b/src/devices/bus/gamate/rom.cpp
@@ -168,9 +168,10 @@ WRITE8_MEMBER(gamate_rom_4in1_device::write_rom)
}
}
-MACHINE_CONFIG_START(gamate_rom_plain_device::device_add_mconfig)
- MCFG_DEVICE_ADD("protection", GAMATE_PROT, 0)
-MACHINE_CONFIG_END
+void gamate_rom_plain_device::device_add_mconfig(machine_config &config)
+{
+ GAMATE_PROT(config, m_protection, 0);
+}
/*-------------------------------------------------