diff options
author | 2015-11-18 09:57:34 +0100 | |
---|---|---|
committer | 2015-11-18 09:57:34 +0100 | |
commit | e078b40130c458b485a9e69439dd125095996e7b (patch) | |
tree | 97d420c50d5c9ece90be3919bfd3a1f9cf6db61e /src/emu/machine.cpp | |
parent | 05109871beb32a41a26255720ba16334ebab4939 (diff) |
removed old code part (nw)
Diffstat (limited to 'src/emu/machine.cpp')
-rw-r--r-- | src/emu/machine.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp index 346f907c0a7..a0aa6de3b31 100644 --- a/src/emu/machine.cpp +++ b/src/emu/machine.cpp @@ -309,24 +309,6 @@ void running_machine::start() //------------------------------------------------- -// add_dynamic_device - dynamically add a device -//------------------------------------------------- - -device_t &running_machine::add_dynamic_device(device_t &owner, device_type type, const char *tag, UINT32 clock) -{ - // add the device in a standard manner - device_t *device = const_cast<machine_config &>(m_config).device_add(&owner, tag, type, clock); - - // notify this device and all its subdevices that they are now configured - device_iterator iter(root_device()); - for (device_t *dev = iter.first(); dev != NULL; dev = iter.next()) - if (!dev->configured()) - dev->config_complete(); - return *device; -} - - -//------------------------------------------------- // run - execute the machine //------------------------------------------------- |