summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/addrmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/addrmap.cpp')
-rw-r--r--src/emu/addrmap.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/addrmap.cpp b/src/emu/addrmap.cpp
index 0a2e7a15c98..06410945815 100644
--- a/src/emu/addrmap.cpp
+++ b/src/emu/addrmap.cpp
@@ -759,6 +759,12 @@ address_map::address_map(device_t &device, int spacenum)
memintf->get_addrmap(spacenum)(*this);
m_device = &device;
}
+ else
+ {
+ // if the owner didn't provide a map, use the default device map
+ if (!spaceconfig->m_default_map.isnull())
+ spaceconfig->m_default_map(*this);
+ }
// construct the internal device map (last so it takes priority)
if (!spaceconfig->m_internal_map.isnull())