summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/sbp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/sbp.cpp')
-rw-r--r--src/devices/bus/neogeo/sbp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/neogeo/sbp.cpp b/src/devices/bus/neogeo/sbp.cpp
index 6b6920cb5e8..0ce1d179248 100644
--- a/src/devices/bus/neogeo/sbp.cpp
+++ b/src/devices/bus/neogeo/sbp.cpp
@@ -32,7 +32,7 @@ void neogeo_sbp_cart_device::device_reset()
-READ16_MEMBER( neogeo_sbp_cart_device::protection_r )
+uint16_t neogeo_sbp_cart_device::protection_r(address_space &space, offs_t offset)
{
uint16_t* rom = (get_rom_size()) ? get_rom_base() : get_region_rom_base();
uint16_t origdata = rom[offset + (0x200/2)];
@@ -49,7 +49,7 @@ READ16_MEMBER( neogeo_sbp_cart_device::protection_r )
}
-WRITE16_MEMBER( neogeo_sbp_cart_device::protection_w )
+void neogeo_sbp_cart_device::protection_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
int realoffset = 0x200 + (offset * 2);