summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/addrmap.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-02-17 11:50:17 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-02-17 11:50:17 -0500
commit50f045ba741d575a3e558744d744c2df223214ad (patch)
tree34b01176d691c0918dcaac9fe9f4432766fccddc /src/emu/addrmap.cpp
parent836abb0d63fc44fda201b76023612b1f5a21a8ac (diff)
Eliminate the default address map member of address_space_config (nw)
Since all device address maps are now class methods defined in ordinary C++, default RAM maps can be provided more simply with an explicit has_configured_map check in an internal map definition. A number of default address maps that probably weren't meant to be overridden have also been changed to ordinary internal maps.
Diffstat (limited to 'src/emu/addrmap.cpp')
-rw-r--r--src/emu/addrmap.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/emu/addrmap.cpp b/src/emu/addrmap.cpp
index 06410945815..0a2e7a15c98 100644
--- a/src/emu/addrmap.cpp
+++ b/src/emu/addrmap.cpp
@@ -759,12 +759,6 @@ 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())