From 5f05fbf61348c65204fde1e2aeed72de4cb56593 Mon Sep 17 00:00:00 2001 From: smf- Date: Sat, 19 Nov 2016 22:14:09 +0000 Subject: moved debugger_access() from address space to machine & removed the anti-patterns that updated cascading address spaces. [smf] --- src/devices/sound/tms5220.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/devices/sound/tms5220.cpp') diff --git a/src/devices/sound/tms5220.cpp b/src/devices/sound/tms5220.cpp index b1a9b8aa325..1ec10df94bf 100644 --- a/src/devices/sound/tms5220.cpp +++ b/src/devices/sound/tms5220.cpp @@ -2016,7 +2016,7 @@ WRITE8_MEMBER( tms5220_device::combined_rsq_wsq_w ) WRITE8_MEMBER( tms5220_device::data_w ) { // prevent debugger from changing the internal state - if (space.debugger_access()) return; + if (machine().debugger_access()) return; #ifdef DEBUG_RS_WS logerror("tms5220_data_w: data %02x\n", data); @@ -2049,7 +2049,7 @@ WRITE8_MEMBER( tms5220_device::data_w ) READ8_MEMBER( tms5220_device::status_r ) { // prevent debugger from changing the internal state - if (space.debugger_access()) return 0; + if (machine().debugger_access()) return 0; if (!m_true_timing) { -- cgit v1.2.3-70-g09d2