diff options
| author | 2021-09-10 09:39:10 -0700 | |
|---|---|---|
| committer | 2021-09-10 09:39:10 -0700 | |
| commit | fedb40f712d34bb2b6904487ce88dd124e26c7f5 (patch) | |
| tree | 3a539aa7f386b3c11ec76bdb266ca03a08039cfe /src/emu/device.cpp | |
| parent | e505ac97bd2de9100d02d37fc0270504bf60b531 (diff) | |
| parent | a99d2f3295c21e6ae97cbffce8cf025860bfa4d6 (diff) | |
Merge branch 'master' into time-experiments2
Diffstat (limited to 'src/emu/device.cpp')
| -rw-r--r-- | src/emu/device.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/device.cpp b/src/emu/device.cpp index d1e9cc245c0..f6ed21643aa 100644 --- a/src/emu/device.cpp +++ b/src/emu/device.cpp @@ -135,6 +135,8 @@ std::vector<std::string> device_t::searchpath() const system = system->owner(); if (system) result = system->searchpath(); + if (type().parent_rom_device_type()) + result.emplace(result.begin(), type().parent_rom_device_type()->shortname()); result.emplace(result.begin(), shortname()); return result; } |
