summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m68000/68340dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/m68000/68340dma.c')
-rw-r--r--src/emu/cpu/m68000/68340dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/m68000/68340dma.c b/src/emu/cpu/m68000/68340dma.c
index 2d52f3473cc..567349b9745 100644
--- a/src/emu/cpu/m68000/68340dma.c
+++ b/src/emu/cpu/m68000/68340dma.c
@@ -12,7 +12,7 @@ READ32_HANDLER( m68340_internal_dma_r )
if (dma)
{
- int pc = cpu_get_pc(&space->device());
+ int pc = space->device().safe_pc();
logerror("%08x m68340_internal_dma_r %08x, (%08x)\n", pc, offset*4,mem_mask);
}
@@ -27,7 +27,7 @@ WRITE32_HANDLER( m68340_internal_dma_w )
if (dma)
{
- int pc = cpu_get_pc(&space->device());
+ int pc = space->device().safe_pc();
logerror("%08x m68340_internal_dma_w %08x, %08x (%08x)\n", pc, offset*4,data,mem_mask);
}
}