summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ppmast93.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ppmast93.c')
-rw-r--r--src/mame/drivers/ppmast93.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/ppmast93.c b/src/mame/drivers/ppmast93.c
index c7637094af6..1f5c3ef4581 100644
--- a/src/mame/drivers/ppmast93.c
+++ b/src/mame/drivers/ppmast93.c
@@ -218,7 +218,7 @@ WRITE8_MEMBER(ppmast93_state::ppmast_sound_w)
case 0:
case 1: ym2413_w(machine().device("ymsnd"),offset,data); break;
case 2: machine().device<dac_device>("dac")->write_unsigned8(data);break;
- default: logerror("%x %x - %x\n",offset,data,cpu_get_previouspc(&space.device()));
+ default: logerror("%x %x - %x\n",offset,data,space.device().safe_pcbase());
}
}