summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/saturn/dram.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/saturn/dram.cpp')
-rw-r--r--src/devices/bus/saturn/dram.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/saturn/dram.cpp b/src/devices/bus/saturn/dram.cpp
index 6d574dc28e3..c0380752aea 100644
--- a/src/devices/bus/saturn/dram.cpp
+++ b/src/devices/bus/saturn/dram.cpp
@@ -55,7 +55,7 @@ void saturn_dram_device::device_reset()
// RAM: two DRAM chips are present in the cart, thus accesses only go up to m_size/2!
-READ32_MEMBER(saturn_dram_device::read_ext_dram0)
+uint32_t saturn_dram_device::read_ext_dram0(offs_t offset)
{
if (offset < (0x400000/2)/4)
return m_ext_dram0[offset % m_ext_dram0.size()];
@@ -66,7 +66,7 @@ READ32_MEMBER(saturn_dram_device::read_ext_dram0)
}
}
-READ32_MEMBER(saturn_dram_device::read_ext_dram1)
+uint32_t saturn_dram_device::read_ext_dram1(offs_t offset)
{
if (offset < (0x400000/2)/4)
return m_ext_dram1[offset % m_ext_dram1.size()];
@@ -77,7 +77,7 @@ READ32_MEMBER(saturn_dram_device::read_ext_dram1)
}
}
-WRITE32_MEMBER(saturn_dram_device::write_ext_dram0)
+void saturn_dram_device::write_ext_dram0(offs_t offset, uint32_t data, uint32_t mem_mask)
{
if (offset < (0x400000/2)/4)
COMBINE_DATA(&m_ext_dram0[offset % m_ext_dram0.size()]);
@@ -85,7 +85,7 @@ WRITE32_MEMBER(saturn_dram_device::write_ext_dram0)
popmessage("DRAM0 write beyond its boundary! offs: %X data: %X\n", offset, data);
}
-WRITE32_MEMBER(saturn_dram_device::write_ext_dram1)
+void saturn_dram_device::write_ext_dram1(offs_t offset, uint32_t data, uint32_t mem_mask)
{
if (offset < (0x400000/2)/4)
COMBINE_DATA(&m_ext_dram1[offset % m_ext_dram1.size()]);