diff options
Diffstat (limited to 'src/mame/machine/opwolf.c')
-rw-r--r-- | src/mame/machine/opwolf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/opwolf.c b/src/mame/machine/opwolf.c index 37635754c13..ca4c7913eb6 100644 --- a/src/mame/machine/opwolf.c +++ b/src/mame/machine/opwolf.c @@ -411,7 +411,7 @@ WRITE16_MEMBER(opwolf_state::opwolf_cchip_data_w) m_cchip_ram[(m_current_bank * 0x400) + offset] = data & 0xff; // if (offset != 0x64 && offset != 0x65 && offset != 0x66 && offset != 0x67 && offset != 0x68 && offset != 0x69) -// logerror("%08x: opwolf c write %04x %04x\n", cpu_get_pc(&space.device()), offset, data); +// logerror("%08x: opwolf c write %04x %04x\n", space.device().safe_pc(), offset, data); if (m_current_bank == 0) { @@ -512,8 +512,8 @@ READ16_MEMBER(opwolf_state::opwolf_cchip_status_r) READ16_MEMBER(opwolf_state::opwolf_cchip_data_r) { -// if (offset!=0x7f && offset!=0x1c && offset!=0x1d && offset!=0x1e && offset!=0x1f && offset!=0x20 && cpu_get_pc(&space.device())!=0xc18 && cpu_get_pc(&space.device())!=0xc2e && cpu_get_pc(&space.device())!=0xc9e && offset!=0x50 && offset!=0x51 && offset!=0x52 && offset!=0x53 && offset!=0x5 && offset!=0x13 && offset!=0x79 && offset!=0x12 && offset!=0x34) -// logerror("%08x: opwolf c read %04x (bank %04x)\n", cpu_get_pc(&space.device()), offset, m_current_bank); +// if (offset!=0x7f && offset!=0x1c && offset!=0x1d && offset!=0x1e && offset!=0x1f && offset!=0x20 && space.device().safe_pc()!=0xc18 && space.device().safe_pc()!=0xc2e && space.device().safe_pc()!=0xc9e && offset!=0x50 && offset!=0x51 && offset!=0x52 && offset!=0x53 && offset!=0x5 && offset!=0x13 && offset!=0x79 && offset!=0x12 && offset!=0x34) +// logerror("%08x: opwolf c read %04x (bank %04x)\n", space.device().safe_pc(), offset, m_current_bank); return m_cchip_ram[(m_current_bank * 0x400) + offset]; } |