summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/spy.c')
-rw-r--r--src/mame/drivers/spy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/spy.c b/src/mame/drivers/spy.c
index dc01406670e..fe938570ccc 100644
--- a/src/mame/drivers/spy.c
+++ b/src/mame/drivers/spy.c
@@ -45,12 +45,12 @@ READ8_MEMBER(spy_state::spy_bankedram1_r)
{
if (m_pmcbank)
{
- //logerror("%04x read pmcram %04x\n", cpu_get_pc(&space.device()), offset);
+ //logerror("%04x read pmcram %04x\n", space.device().safe_pc(), offset);
return m_pmcram[offset];
}
else
{
- //logerror("%04x read pmc internal ram %04x\n", cpu_get_pc(&space.device()), offset);
+ //logerror("%04x read pmc internal ram %04x\n", space.device().safe_pc(), offset);
return 0;
}
}
@@ -69,11 +69,11 @@ WRITE8_MEMBER(spy_state::spy_bankedram1_w)
{
if (m_pmcbank)
{
- //logerror("%04x pmcram %04x = %02x\n", cpu_get_pc(&space.device()), offset, data);
+ //logerror("%04x pmcram %04x = %02x\n", space.device().safe_pc(), offset, data);
m_pmcram[offset] = data;
}
//else
- //logerror("%04x pmc internal ram %04x = %02x\n", cpu_get_pc(&space.device()), offset, data);
+ //logerror("%04x pmc internal ram %04x = %02x\n", space.device().safe_pc(), offset, data);
}
else
m_ram[offset] = data;
@@ -304,7 +304,7 @@ WRITE8_MEMBER(spy_state::spy_3f90_w)
/* bit 7 = PMC-BK */
m_pmcbank = (data & 0x80) >> 7;
-//logerror("%04x: 3f90_w %02x\n", cpu_get_pc(&space.device()), data);
+//logerror("%04x: 3f90_w %02x\n", space.device().safe_pc(), data);
/* bit 6 = PMC-START */
if ((data & 0x40) && !(m_old_3f90 & 0x40))
{