summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/6532riot.cpp
diff options
context:
space:
mode:
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 0b207f49b65..94b56366d6d 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, machine().debugger_access());
+ return reg_r(offset, space.debugger_access());
}
uint8_t riot6532_device::reg_r(uint8_t offset, bool debugger_access)