diff options
| author | 2017-10-28 13:58:03 +1100 | |
|---|---|---|
| committer | 2017-10-28 13:58:03 +1100 | |
| commit | d5ac7c11cfda69fb48cb30daa841992ce8f97d47 (patch) | |
| tree | 6247ad9208334cbe881bc8834c184498ae554b76 /src/emu/machine.cpp | |
| parent | 0a737c67962205704b3f68ca8e1a92749cb2997a (diff) | |
Move object finder resolution before device_start - should solve github #2759
Diffstat (limited to 'src/emu/machine.cpp')
| -rw-r--r-- | src/emu/machine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp index 4af765831d6..fa6375ef937 100644 --- a/src/emu/machine.cpp +++ b/src/emu/machine.cpp @@ -974,6 +974,10 @@ void running_machine::logfile_callback(const char *buffer) void running_machine::start_all_devices() { + // resolve objects first to avoid messy start order dependencies + for (device_t &device : device_iterator(root_device())) + device.resolve_objects(); + m_dummy_space.start(); // iterate through the devices |
