summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/driver.cpp')
-rw-r--r--src/emu/driver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/driver.cpp b/src/emu/driver.cpp
index 889730da59c..49be813c8cb 100644
--- a/src/emu/driver.cpp
+++ b/src/emu/driver.cpp
@@ -173,7 +173,8 @@ const tiny_rom_entry *driver_device::device_rom_region() const
void driver_device::device_add_mconfig(machine_config &config)
{
assert(m_system);
- m_system->machine_creator(config, this);
+ machine_config_delegate creator(m_system->machine_creator, *this);
+ creator(config);
}