summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/6532riot.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/machine/6532riot.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/machine/6532riot.cpp')
-rw-r--r--src/devices/machine/6532riot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/6532riot.cpp b/src/devices/machine/6532riot.cpp
index 94b56366d6d..0b207f49b65 100644
--- a/src/devices/machine/6532riot.cpp
+++ b/src/devices/machine/6532riot.cpp
@@ -233,7 +233,7 @@ void riot6532_device::reg_w(uint8_t offset, uint8_t data)
READ8_MEMBER( riot6532_device::read )
{
- return reg_r(offset, space.debugger_access());
+ return reg_r(offset, machine().debugger_access());
}
uint8_t riot6532_device::reg_r(uint8_t offset, bool debugger_access)