diff options
author | Olivier Galibert <galibert@pobox.com> | 2021-02-20 16:07:48 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2021-02-20 16:08:22 +0100 |
commit | 3cd1a5f3e49daa3a66f44878f40c0a7bab8480f3 (patch) | |
tree | cf694eb9555c8646ca2236fc959acc41a86e18df /src/emu | |
parent | b9511ec83f0bafd9c492f769ce1cf3de4ec37bfd (diff) |
emumem: Disable the unmap-value-in-device-map test for now
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/emumem_aspace.cpp | 15 | ||||
-rw-r--r-- | src/emu/emumem_mview.cpp | 15 |
2 files changed, 18 insertions, 12 deletions
diff --git a/src/emu/emumem_aspace.cpp b/src/emu/emumem_aspace.cpp index fb1351ff453..931eb0a260d 100644 --- a/src/emu/emumem_aspace.cpp +++ b/src/emu/emumem_aspace.cpp @@ -897,12 +897,15 @@ void address_space::prepare_map() void address_space::prepare_device_map(address_map &map) { - // device maps are not supposed to set global parameters - if (map.m_unmapval) - fatalerror("Device maps should not set the unmap value\n"); - - if (map.m_globalmask && map.m_globalmask != m_addrmask) - fatalerror("Device maps should not set the global mask\n"); + // Disable the test for now, some cleanup needed before + if(0) { + // device maps are not supposed to set global parameters + if (map.m_unmapval) + fatalerror("Device maps should not set the unmap value\n"); + + if (map.m_globalmask && map.m_globalmask != m_addrmask) + fatalerror("Device maps should not set the global mask\n"); + } prepare_map_generic(map, false); } diff --git a/src/emu/emumem_mview.cpp b/src/emu/emumem_mview.cpp index 4f704d969a9..c55984b1164 100644 --- a/src/emu/emumem_mview.cpp +++ b/src/emu/emumem_mview.cpp @@ -589,12 +589,15 @@ void memory_view::memory_view_entry::prepare_map_generic(address_map &map, bool void memory_view::memory_view_entry::prepare_device_map(address_map &map) { - // device maps are not supposed to set global parameters - if (map.m_unmapval) - fatalerror("Device maps should not set the unmap value\n"); - - if (map.m_globalmask && map.m_globalmask != m_view.m_space->addrmask()) - fatalerror("Device maps should not set the global mask\n"); + // Disable the test for now, some cleanup needed before + if(0) { + // device maps are not supposed to set global parameters + if (map.m_unmapval) + fatalerror("Device maps should not set the unmap value\n"); + + if (map.m_globalmask && map.m_globalmask != m_view.m_space->addrmask()) + fatalerror("Device maps should not set the global mask\n"); + } prepare_map_generic(map, false); } |