summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/xmen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/xmen.c')
-rw-r--r--src/mame/drivers/xmen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/xmen.c b/src/mame/drivers/xmen.c
index 25e75464003..553b34db25e 100644
--- a/src/mame/drivers/xmen.c
+++ b/src/mame/drivers/xmen.c
@@ -44,7 +44,7 @@ static const eeprom_interface eeprom_intf =
WRITE16_MEMBER(xmen_state::eeprom_w)
{
- logerror("%06x: write %04x to 108000\n",cpu_get_pc(&space.device()),data);
+ logerror("%06x: write %04x to 108000\n",space.device().safe_pc(),data);
if (ACCESSING_BITS_0_7)
{
/* bit 0 = coin counter */