summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/isa_hdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/isa_hdc.c')
-rw-r--r--src/mess/machine/isa_hdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/isa_hdc.c b/src/mess/machine/isa_hdc.c
index 079deb24627..e2ae64d81d2 100644
--- a/src/mess/machine/isa_hdc.c
+++ b/src/mess/machine/isa_hdc.c
@@ -796,7 +796,7 @@ static READ8_DEVICE_HANDLER(pc_HDC_r )
}
if (LOG_HDC_CALL)
- logerror("pc_HDC_r(): pc=%06X offs=%d result=0x%02x\n", cpu_get_pc(device->machine().firstcpu), offset, data);
+ logerror("pc_HDC_r(): pc=%06X offs=%d result=0x%02x\n", device->machine().firstcpu->safe_pc(), offset, data);
return data;
}
@@ -805,7 +805,7 @@ static WRITE8_DEVICE_HANDLER( pc_HDC_w )
{
isa8_hdc_device *hdc = downcast<isa8_hdc_device *>(device);
if (LOG_HDC_CALL)
- logerror("pc_HDC_w(): pc=%06X offs=%d data=0x%02x\n", cpu_get_pc(device->machine().firstcpu), offset, data);
+ logerror("pc_HDC_w(): pc=%06X offs=%d data=0x%02x\n", device->machine().firstcpu->safe_pc(), offset, data);
switch( offset )
{