diff options
Diffstat (limited to 'src/devices/cpu/lc8670/lc8670.cpp')
-rw-r--r-- | src/devices/cpu/lc8670/lc8670.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/cpu/lc8670/lc8670.cpp b/src/devices/cpu/lc8670/lc8670.cpp index a5a1c46329b..71e674c9221 100644 --- a/src/devices/cpu/lc8670/lc8670.cpp +++ b/src/devices/cpu/lc8670/lc8670.cpp @@ -914,7 +914,7 @@ WRITE8_MEMBER(lc8670_cpu_device::mram_w) READ8_MEMBER(lc8670_cpu_device::xram_r) { - if (!(REG_VCCR & 0x40) || machine().debugger_access()) // XRAM access enabled + if (!(REG_VCCR & 0x40) || space.debugger_access()) // XRAM access enabled { uint8_t * xram_bank = m_xram + (REG_XBNK & 0x03) * 0x60; @@ -937,7 +937,7 @@ READ8_MEMBER(lc8670_cpu_device::xram_r) WRITE8_MEMBER(lc8670_cpu_device::xram_w) { - if (!(REG_VCCR & 0x40) || machine().debugger_access()) // XRAM access enabled + if (!(REG_VCCR & 0x40) || space.debugger_access()) // XRAM access enabled { uint8_t * xram_bank = m_xram + (REG_XBNK & 0x03) * 0x60; @@ -977,7 +977,7 @@ READ8_MEMBER(lc8670_cpu_device::regs_r) case 0x66: { uint8_t data = m_vtrbf[((REG_VRMAD2<<8) | REG_VRMAD1) & 0x1ff]; - if (!machine().debugger_access() && (REG_VSEL & 0x10)) + if (!space.debugger_access() && (REG_VSEL & 0x10)) { uint16_t vrmad = (REG_VRMAD1 | (REG_VRMAD2<<8)) + 1; REG_VRMAD1 = vrmad & 0xff; @@ -989,7 +989,7 @@ READ8_MEMBER(lc8670_cpu_device::regs_r) // write-only registers case 0x20: case 0x23: case 0x24: case 0x27: case 0x45: case 0x46: case 0x4d: - if(!machine().debugger_access()) logerror("%s: read write-only SFR %04x\n", machine().describe_context(), offset); + if(!space.debugger_access()) logerror("%s: read write-only SFR %04x\n", machine().describe_context(), offset); return 0xff; } return m_sfr[offset]; @@ -1044,7 +1044,7 @@ WRITE8_MEMBER(lc8670_cpu_device::regs_w) break; case 0x66: m_vtrbf[((REG_VRMAD2<<8) | REG_VRMAD1) & 0x1ff] = data; - if (!machine().debugger_access() && (REG_VSEL & 0x10)) + if (!space.debugger_access() && (REG_VSEL & 0x10)) { uint16_t vrmad = (REG_VRMAD1 | (REG_VRMAD2<<8)) + 1; REG_VRMAD1 = vrmad & 0xff; @@ -1058,7 +1058,7 @@ WRITE8_MEMBER(lc8670_cpu_device::regs_w) // read-only registers case 0x12: case 0x14: case 0x5c: - if(!machine().debugger_access()) logerror("%s: write read-only SFR %04x = %02x\n", machine().describe_context(), offset, data); + if(!space.debugger_access()) logerror("%s: write read-only SFR %04x = %02x\n", machine().describe_context(), offset, data); return; } |