summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/addrmap.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2017-11-30 10:54:32 +0100
committer Olivier Galibert <galibert@pobox.com>2017-11-30 12:29:32 +0100
commit7c8a1fa409e62d755ce0fc1b1b772128fd44663f (patch)
treed79f48533b4706a3fbdeb38fe987ac3443c56a2d /src/emu/addrmap.cpp
parent29825789a8c177387dbcf0c7fd0d2fb55b987e40 (diff)
Pet peeving with extreme prejudice (nw)
Diffstat (limited to 'src/emu/addrmap.cpp')
-rw-r--r--src/emu/addrmap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/addrmap.cpp b/src/emu/addrmap.cpp
index 9eee69f986f..5f717f3f79a 100644
--- a/src/emu/addrmap.cpp
+++ b/src/emu/addrmap.cpp
@@ -605,7 +605,7 @@ void address_map::map_validity_check(validity_checker &valid, int spacenum) cons
{
// it's safe to assume here that the device has a memory interface and a config for this space
const address_space_config &spaceconfig = *m_device->memory().space_config(spacenum);
- int datawidth = spaceconfig.m_databus_width;
+ int datawidth = spaceconfig.m_data_width;
int alignunit = spaceconfig.alignment();
bool detected_overlap = DETECT_OVERLAPPING_MEMORY ? false : true;
@@ -620,7 +620,7 @@ void address_map::map_validity_check(validity_checker &valid, int spacenum) cons
if (m_databits != datawidth)
osd_printf_error("Wrong memory handlers provided for %s space! (width = %d, memory = %08x)\n", spaceconfig.m_name, datawidth, m_databits);
- offs_t globalmask = 0xffffffffUL >> (32 - spaceconfig.m_addrbus_width);
+ offs_t globalmask = 0xffffffffUL >> (32 - spaceconfig.m_addr_width);
if (m_globalmask != 0)
globalmask = m_globalmask;