From 50f045ba741d575a3e558744d744c2df223214ad Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 17 Feb 2019 11:50:17 -0500 Subject: 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. --- src/emu/addrmap.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/emu/addrmap.cpp') 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()) -- cgit v1.2.3-70-g09d2