summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/68340dma.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/68340dma.cpp')
-rw-r--r--src/devices/machine/68340dma.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/machine/68340dma.cpp b/src/devices/machine/68340dma.cpp
index cd69e4c9a1b..e37e573e5e6 100644
--- a/src/devices/machine/68340dma.cpp
+++ b/src/devices/machine/68340dma.cpp
@@ -8,6 +8,9 @@
READ32_MEMBER( m68340_cpu_device::m68340_internal_dma_r )
{
+ assert(m68340DMA);
+ //m68340_dma &dma = *m68340DMA;
+
int pc = space.device().safe_pc();
logerror("%08x m68340_internal_dma_r %08x, (%08x)\n", pc, offset*4,mem_mask);
@@ -16,6 +19,9 @@ READ32_MEMBER( m68340_cpu_device::m68340_internal_dma_r )
WRITE32_MEMBER( m68340_cpu_device::m68340_internal_dma_w )
{
+ assert(m68340DMA);
+ //m68340_dma &dma = *m68340DMA;
+
int pc = space.device().safe_pc();
logerror("%08x m68340_internal_dma_w %08x, %08x (%08x)\n", pc, offset*4,data,mem_mask);
}