diff options
Diffstat (limited to 'src/mame/drivers/model1.c')
-rw-r--r-- | src/mame/drivers/model1.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/model1.c b/src/mame/drivers/model1.c index 600f1b9f462..2cbf710fa49 100644 --- a/src/mame/drivers/model1.c +++ b/src/mame/drivers/model1.c @@ -797,7 +797,7 @@ WRITE16_MEMBER(model1_state::md1_w) if(0 && offset) return; if(1 && m_dump) - logerror("TGP: md1_w %x, %04x @ %04x (%x)\n", offset, data, mem_mask, cpu_get_pc(&space.device())); + logerror("TGP: md1_w %x, %04x @ %04x (%x)\n", offset, data, mem_mask, space.device().safe_pc()); } WRITE16_MEMBER(model1_state::md0_w) @@ -806,7 +806,7 @@ WRITE16_MEMBER(model1_state::md0_w) if(0 && offset) return; if(1 && m_dump) - logerror("TGP: md0_w %x, %04x @ %04x (%x)\n", offset, data, mem_mask, cpu_get_pc(&space.device())); + logerror("TGP: md0_w %x, %04x @ %04x (%x)\n", offset, data, mem_mask, space.device().safe_pc()); } WRITE16_MEMBER(model1_state::p_w) @@ -814,14 +814,14 @@ WRITE16_MEMBER(model1_state::p_w) UINT16 old = m_generic_paletteram_16[offset]; paletteram_xBBBBBGGGGGRRRRR_word_w(space, offset, data, mem_mask); if(0 && m_generic_paletteram_16[offset] != old) - logerror("XVIDEO: p_w %x, %04x @ %04x (%x)\n", offset, data, mem_mask, cpu_get_pc(&space.device())); + logerror("XVIDEO: p_w %x, %04x @ %04x (%x)\n", offset, data, mem_mask, space.device().safe_pc()); } WRITE16_MEMBER(model1_state::mr_w) { COMBINE_DATA(m_mr+offset); if(0 && offset == 0x1138/2) - logerror("MR.w %x, %04x @ %04x (%x)\n", offset*2+0x500000, data, mem_mask, cpu_get_pc(&space.device())); + logerror("MR.w %x, %04x @ %04x (%x)\n", offset*2+0x500000, data, mem_mask, space.device().safe_pc()); } WRITE16_MEMBER(model1_state::mr2_w) @@ -829,23 +829,23 @@ WRITE16_MEMBER(model1_state::mr2_w) COMBINE_DATA(m_mr2+offset); #if 0 if(0 && offset == 0x6e8/2) { - logerror("MR.w %x, %04x @ %04x (%x)\n", offset*2+0x400000, data, mem_mask, cpu_get_pc(&space.device())); + logerror("MR.w %x, %04x @ %04x (%x)\n", offset*2+0x400000, data, mem_mask, space.device().safe_pc()); } if(offset/2 == 0x3680/4) - logerror("MW f80[r25], %04x%04x (%x)\n", m_mr2[0x3680/2+1], m_mr2[0x3680/2], cpu_get_pc(&space.device())); + logerror("MW f80[r25], %04x%04x (%x)\n", m_mr2[0x3680/2+1], m_mr2[0x3680/2], space.device().safe_pc()); if(offset/2 == 0x06ca/4) - logerror("MW fca[r19], %04x%04x (%x)\n", m_mr2[0x06ca/2+1], m_mr2[0x06ca/2], cpu_get_pc(&space.device())); + logerror("MW fca[r19], %04x%04x (%x)\n", m_mr2[0x06ca/2+1], m_mr2[0x06ca/2], space.device().safe_pc()); if(offset/2 == 0x1eca/4) - logerror("MW fca[r22], %04x%04x (%x)\n", m_mr2[0x1eca/2+1], m_mr2[0x1eca/2], cpu_get_pc(&space.device())); + logerror("MW fca[r22], %04x%04x (%x)\n", m_mr2[0x1eca/2+1], m_mr2[0x1eca/2], space.device().safe_pc()); #endif // wingwar scene position, pc=e1ce -> d735 if(offset/2 == 0x1f08/4) - logerror("MW 8[r10], %f (%x)\n", *(float *)(m_mr2+0x1f08/2), cpu_get_pc(&space.device())); + logerror("MW 8[r10], %f (%x)\n", *(float *)(m_mr2+0x1f08/2), space.device().safe_pc()); if(offset/2 == 0x1f0c/4) - logerror("MW c[r10], %f (%x)\n", *(float *)(m_mr2+0x1f0c/2), cpu_get_pc(&space.device())); + logerror("MW c[r10], %f (%x)\n", *(float *)(m_mr2+0x1f0c/2), space.device().safe_pc()); if(offset/2 == 0x1f10/4) - logerror("MW 10[r10], %f (%x)\n", *(float *)(m_mr2+0x1f10/2), cpu_get_pc(&space.device())); + logerror("MW 10[r10], %f (%x)\n", *(float *)(m_mr2+0x1f10/2), space.device().safe_pc()); } READ16_MEMBER(model1_state::snd_68k_ready_r) |