diff options
Diffstat (limited to 'src/mame/drivers/ti99_4p.cpp')
-rw-r--r-- | src/mame/drivers/ti99_4p.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/ti99_4p.cpp b/src/mame/drivers/ti99_4p.cpp index b846210f33c..0df5bad73e4 100644 --- a/src/mame/drivers/ti99_4p.cpp +++ b/src/mame/drivers/ti99_4p.cpp @@ -455,7 +455,7 @@ READ16_MEMBER( ti99_4p_state::memread ) int addr_off8k = m_addr_buf & 0x1fff; // If we use the debugger, decode the address now (normally done in setaddress) - if (space.debugger_access()) + if (machine().side_effect_disabled()) { m_addr_buf = offset << 1; m_decode = decode_address(m_addr_buf); @@ -498,7 +498,7 @@ READ16_MEMBER( ti99_4p_state::memread ) break; case SGCPU_PEB: - if (space.debugger_access()) return debugger_read(space, offset); + if (machine().side_effect_disabled()) return debugger_read(space, offset); // The byte from the odd address has already been read into the latch // Reading the even address now m_peribox->readz(space, m_addr_buf, &hbyte); @@ -516,7 +516,7 @@ WRITE16_MEMBER( ti99_4p_state::memwrite ) int address = 0; // If we use the debugger, decode the address now (normally done in setaddress) - if (space.debugger_access()) + if (machine().side_effect_disabled()) { m_addr_buf = offset << 1; m_decode = decode_address(m_addr_buf); @@ -560,7 +560,7 @@ WRITE16_MEMBER( ti99_4p_state::memwrite ) break; case SGCPU_PEB: - if (space.debugger_access()) { debugger_write(space, offset, data); return; } + if (machine().side_effect_disabled()) { debugger_write(space, offset, data); return; } // Writing the even address now (addr) // The databus multiplexer puts the even value into the latch and outputs the odd value now. |