summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/m5/rom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/m5/rom.cpp')
-rw-r--r--src/devices/bus/m5/rom.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/m5/rom.cpp b/src/devices/bus/m5/rom.cpp
index 5bb1ee371cc..fbf80f5ce29 100644
--- a/src/devices/bus/m5/rom.cpp
+++ b/src/devices/bus/m5/rom.cpp
@@ -43,7 +43,7 @@ m5_ram_device::m5_ram_device(const machine_config &mconfig, const char *tag, dev
mapper specific handlers
-------------------------------------------------*/
-READ8_MEMBER(m5_rom_device::read_rom)
+uint8_t m5_rom_device::read_rom(offs_t offset)
{
if (offset < m_rom_size)
return m_rom[offset];
@@ -51,12 +51,12 @@ READ8_MEMBER(m5_rom_device::read_rom)
return 0xff;
}
-READ8_MEMBER(m5_ram_device::read_ram)
+uint8_t m5_ram_device::read_ram(offs_t offset)
{
return m_ram[offset];
}
-WRITE8_MEMBER(m5_ram_device::write_ram)
+void m5_ram_device::write_ram(offs_t offset, uint8_t data)
{
m_ram[offset] = data;
}