summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/segaic16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/segaic16.cpp')
-rw-r--r--src/mame/machine/segaic16.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mame/machine/segaic16.cpp b/src/mame/machine/segaic16.cpp
index b3690fd06cc..5f80c323933 100644
--- a/src/mame/machine/segaic16.cpp
+++ b/src/mame/machine/segaic16.cpp
@@ -621,6 +621,7 @@ void sega_315_5195_mapper_device::update_mapping()
if (LOG_MEMORY_MAP) osd_printf_debug("----\nRemapping:\n");
// first reset everything back to the beginning
+ m_space->unmap_readwrite(0x000000, 0xffffff);
m_space->install_readwrite_handler(0x000000, 0xffffff, read8_delegate(FUNC(sega_315_5195_mapper_device::read), this), write8_delegate(FUNC(sega_315_5195_mapper_device::write), this), 0x00ff);
// loop over the regions