summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms32051/tms32051.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-11-19 22:14:09 +0000
committer smf- <smf-@users.noreply.github.com>2016-11-19 22:18:58 +0000
commit5f05fbf61348c65204fde1e2aeed72de4cb56593 (patch)
treee98dcf5c22a2f62424673d90fd9cee2ecfc6ec0d /src/devices/cpu/tms32051/tms32051.cpp
parent53df201f3241d619ed62ff6fdb88a8939fb2be85 (diff)
moved debugger_access() from address space to machine & removed the anti-patterns that updated cascading address spaces. [smf]
Diffstat (limited to 'src/devices/cpu/tms32051/tms32051.cpp')
-rw-r--r--src/devices/cpu/tms32051/tms32051.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/tms32051/tms32051.cpp b/src/devices/cpu/tms32051/tms32051.cpp
index 9707b5d6270..c57b7df4794 100644
--- a/src/devices/cpu/tms32051/tms32051.cpp
+++ b/src/devices/cpu/tms32051/tms32051.cpp
@@ -513,7 +513,7 @@ READ16_MEMBER( tms32051_device::cpuregs_r )
return m_io->read_word(offset << 1);
default:
- if (!space.debugger_access())
+ if (!machine().debugger_access())
fatalerror("32051: cpuregs_r: unimplemented memory-mapped register %02X at %04X\n", offset, m_pc-1);
}
@@ -625,7 +625,7 @@ WRITE16_MEMBER( tms32051_device::cpuregs_w )
break;
default:
- if (!space.debugger_access())
+ if (!machine().debugger_access())
fatalerror("32051: cpuregs_w: unimplemented memory-mapped register %02X, data %04X at %04X\n", offset, data, m_pc-1);
}
}