summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/tms5220.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/sound/tms5220.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/sound/tms5220.cpp')
-rw-r--r--src/devices/sound/tms5220.cpp4
1 files changed, 2 insertions, 2 deletions
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)
{