summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mainevt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mainevt.c')
-rw-r--r--src/mame/drivers/mainevt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mainevt.c b/src/mame/drivers/mainevt.c
index aa0d8e10996..9da494c34a6 100644
--- a/src/mame/drivers/mainevt.c
+++ b/src/mame/drivers/mainevt.c
@@ -110,7 +110,7 @@ WRITE8_MEMBER(mainevt_state::mainevt_sh_bankswitch_w)
{
int bank_A, bank_B;
-//logerror("CPU #1 PC: %04x bank switch = %02x\n",cpu_get_pc(&space.device()),data);
+//logerror("CPU #1 PC: %04x bank switch = %02x\n",space.device().safe_pc(),data);
/* bits 0-3 select the 007232 banks */
bank_A = (data & 0x3);
@@ -126,7 +126,7 @@ WRITE8_MEMBER(mainevt_state::dv_sh_bankswitch_w)
device_t *device = machine().device("k007232");
int bank_A, bank_B;
-//logerror("CPU #1 PC: %04x bank switch = %02x\n",cpu_get_pc(&space->device()),data);
+//logerror("CPU #1 PC: %04x bank switch = %02x\n",space->device().safe_pc(),data);
/* bits 0-3 select the 007232 banks */
bank_A = (data & 0x3);