summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/68340dma.cpp
diff options
context:
space:
mode:
author Firehawke <Firehawke@users.noreply.github.com>2017-12-13 21:01:10 -0700
committer Firehawke <Firehawke@users.noreply.github.com>2017-12-13 21:01:10 -0700
commit54155441e9ba9941e85d80c4834a66376a11e791 (patch)
treeaa44bdaf0035cbe188d64c447f225f10f7d76d8d /src/devices/machine/68340dma.cpp
parentf537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4 (diff)
Revert "Merge branch 'master' of https://github.com/mamedev/mame"
This reverts commit f537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4, reversing changes made to 0d70d798107d4e4e8fb9f230410aeb1e888d65c5.
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);
}