summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2013-06-01 14:39:37 +0000
committer smf- <smf-@users.noreply.github.com>2013-06-01 14:39:37 +0000
commit6046a3af4e461d7c4a76484132a2b960573f5cd7 (patch)
tree640f73051a72e6de175cf191c76c728ce6d8aac7 /src
parentff9092b8b8a6b0990bdba22df4282e53932738d6 (diff)
Allow AM_NOP in device address maps, there may be others that should be allowed. [smf]
Diffstat (limited to 'src')
-rw-r--r--src/emu/addrmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/addrmap.c b/src/emu/addrmap.c
index 07ed40f74f1..9b89b63b6c0 100644
--- a/src/emu/addrmap.c
+++ b/src/emu/addrmap.c
@@ -816,7 +816,7 @@ void address_map::uplift_submaps(running_machine &machine, device_t &device, dev
if (mdata.m_type == AMH_NONE)
continue;
- if (mdata.m_type != AMH_DEVICE_DELEGATE)
+ if (mdata.m_type != AMH_DEVICE_DELEGATE && mdata.m_type != AMH_NOP)
throw emu_fatalerror("Only normal read/write methods are accepted in device submaps.\n");
if (mdata.m_bits == 0 && entry_bits != m_databits)