summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/device.cpp')
-rw-r--r--src/emu/device.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/device.cpp b/src/emu/device.cpp
index 51088b02d4a..8e80fe3c809 100644
--- a/src/emu/device.cpp
+++ b/src/emu/device.cpp
@@ -136,6 +136,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;
}