summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/68340dma.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2017-12-14 14:41:18 +0000
committer smf- <smf-@users.noreply.github.com>2017-12-14 14:42:21 +0000
commitb0b96416eb8685ce9948aa80882e960938c95bca (patch)
tree0fb63b5b5a46d85eeea57df2e04cd5f05ad622ed /src/devices/machine/68340dma.cpp
parent8b9246599a837d4f40cc47ceb73ecbdcc87cd2bb (diff)
remove safe_pc() (nw)
Diffstat (limited to 'src/devices/machine/68340dma.cpp')
-rw-r--r--src/devices/machine/68340dma.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/devices/machine/68340dma.cpp b/src/devices/machine/68340dma.cpp
index cd69e4c9a1b..6649aeb2a94 100644
--- a/src/devices/machine/68340dma.cpp
+++ b/src/devices/machine/68340dma.cpp
@@ -8,16 +8,20 @@
READ32_MEMBER( m68340_cpu_device::m68340_internal_dma_r )
{
- int pc = space.device().safe_pc();
- logerror("%08x m68340_internal_dma_r %08x, (%08x)\n", pc, offset*4,mem_mask);
+ assert(m_m68340DMA);
+ //m68340_dma &dma = *m_m68340DMA;
+
+ logerror("%08x m68340_internal_dma_r %08x, (%08x)\n", m_ppc, offset*4,mem_mask);
return 0x00000000;
}
WRITE32_MEMBER( m68340_cpu_device::m68340_internal_dma_w )
{
- int pc = space.device().safe_pc();
- logerror("%08x m68340_internal_dma_w %08x, %08x (%08x)\n", pc, offset*4,data,mem_mask);
+ assert(m_m68340DMA);
+ //m68340_dma &dma = *m_m68340DMA;
+
+ logerror("%08x m68340_internal_dma_w %08x, %08x (%08x)\n", m_ppc, offset*4,data,mem_mask);
}
void m68340_dma::reset()