diff options
Diffstat (limited to 'src/mame/drivers/cvs.c')
-rw-r--r-- | src/mame/drivers/cvs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/cvs.c b/src/mame/drivers/cvs.c index 1f84a1f9aa6..065916a9384 100644 --- a/src/mame/drivers/cvs.c +++ b/src/mame/drivers/cvs.c @@ -267,7 +267,7 @@ READ8_MEMBER(cvs_state::cvs_input_r) case 0x04: ret = ioport("IN3")->read(); break; case 0x06: ret = ioport("DSW3")->read(); break; case 0x07: ret = ioport("DSW2")->read(); break; - default: logerror("%04x : CVS: Reading unmapped input port 0x%02x\n", cpu_get_pc(&space.device()), offset & 0x0f); break; + default: logerror("%04x : CVS: Reading unmapped input port 0x%02x\n", space.device().safe_pc(), offset & 0x0f); break; } return ret; @@ -375,13 +375,13 @@ WRITE8_MEMBER(cvs_state::cvs_speech_rom_address_lo_w) /* assuming that d0-d2 are cleared here */ m_speech_rom_bit_address = (m_speech_rom_bit_address & 0xf800) | (data << 3); - LOG(("%04x : CVS: Speech Lo %02x Address = %04x\n", cpu_get_pc(&space.device()), data, m_speech_rom_bit_address >> 3)); + LOG(("%04x : CVS: Speech Lo %02x Address = %04x\n", space.device().safe_pc(), data, m_speech_rom_bit_address >> 3)); } WRITE8_MEMBER(cvs_state::cvs_speech_rom_address_hi_w) { m_speech_rom_bit_address = (m_speech_rom_bit_address & 0x07ff) | (data << 11); - LOG(("%04x : CVS: Speech Hi %02x Address = %04x\n", cpu_get_pc(&space.device()), data, m_speech_rom_bit_address >> 3)); + LOG(("%04x : CVS: Speech Hi %02x Address = %04x\n", space.device().safe_pc(), data, m_speech_rom_bit_address >> 3)); } |