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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/68340dma.cpp b/src/devices/machine/68340dma.cpp
index 4a79a4504fc..1a832ff95c4 100644
--- a/src/devices/machine/68340dma.cpp
+++ b/src/devices/machine/68340dma.cpp
@@ -6,22 +6,22 @@
#include "68340.h"
-READ32_MEMBER( m68340_cpu_device::m68340_internal_dma_r )
+uint16_t m68340_cpu_device::m68340_internal_dma_r(offs_t offset, uint16_t 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);
+ logerror("%08x m68340_internal_dma_r %08x, (%08x)\n", m_ppc, offset*2,mem_mask);
return 0x00000000;
}
-WRITE32_MEMBER( m68340_cpu_device::m68340_internal_dma_w )
+void m68340_cpu_device::m68340_internal_dma_w(offs_t offset, uint16_t data, uint16_t 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);
+ logerror("%08x m68340_internal_dma_w %08x, %08x (%08x)\n", m_ppc, offset*2,data,mem_mask);
}
void m68340_dma::reset()