diff options
author | Vas Crabb <vas@vastheman.com> | 2017-03-29 14:18:25 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2017-03-29 14:18:25 +1100 |
commit | 831668a7b4174f6977a6c923443a3199dadc958e (patch) | |
tree | 856c9c2265e235f714dae122e74406ca837b8664 | |
parent | e955b9000a893ac2ccc12c5bbfc7afa625acb6fc (diff) |
Revert "addrmap: Temporary fix (nw)"
This reverts commit fac6cafdcc0379eab636f4b70a7a0036c6001f6c.
-rw-r--r-- | src/emu/addrmap.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/addrmap.cpp b/src/emu/addrmap.cpp index edaf8e32008..d6e0290e4f0 100644 --- a/src/emu/addrmap.cpp +++ b/src/emu/addrmap.cpp @@ -289,8 +289,7 @@ bool address_map_entry::unitmask_is_appropriate(u8 width, u64 unitmask, const ch throw emu_fatalerror("Handler %s is a %d-bit handler and is too wide to be used in a %d-bit address map", string, width, m_map.m_databits); // if map is narrower than 64 bits, check the mask width as well - // disabled because it breaks f.i. isa8_device::install_device, and the fix is nonobvious - if (false && m_map.m_databits < 64 && (unitmask >> m_map.m_databits) != 0) + if (m_map.m_databits < 64 && (unitmask >> m_map.m_databits) != 0) throw emu_fatalerror("Handler %s specified a mask of %08X%08X, too wide to be used in a %d-bit address map", string, (u32)(unitmask >> 32), (u32)unitmask, m_map.m_databits); // the mask must represent whole units of width |