summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/kaneko_toybox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/kaneko_toybox.c')
-rw-r--r--src/mame/machine/kaneko_toybox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/kaneko_toybox.c b/src/mame/machine/kaneko_toybox.c
index eb81826f458..626766d89e6 100644
--- a/src/mame/machine/kaneko_toybox.c
+++ b/src/mame/machine/kaneko_toybox.c
@@ -179,7 +179,7 @@ WRITE16_MEMBER(kaneko_toybox_device::toybox_mcu_com3_w){ toybox_mcu_com_w(offset
*/
READ16_MEMBER(kaneko_toybox_device::toybox_mcu_status_r)
{
- logerror("CPU %s (PC=%06X) : read MCU status\n", space.device().tag(), cpu_get_previouspc(&space.device()));
+ logerror("CPU %s (PC=%06X) : read MCU status\n", space.device().tag(), space.device().safe_pcbase());
return 0; // most games test bit 0 for failure
}