summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/tms5220.cpp
diff options
context:
space:
mode:
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)
{