diff options
Diffstat (limited to 'src/devices/bus/neogeo/sma.h')
-rw-r--r-- | src/devices/bus/neogeo/sma.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/neogeo/sma.h b/src/devices/bus/neogeo/sma.h index b4b72b3b5b5..1eb1a05e6ba 100644 --- a/src/devices/bus/neogeo/sma.h +++ b/src/devices/bus/neogeo/sma.h @@ -17,8 +17,8 @@ public: neogeo_sma_cart_device(const machine_config &mconfig, const char *tag, device_t *owner, uint16_t clock); // reading and writing - virtual DECLARE_READ16_MEMBER(protection_r) override { return m_sma_prot->prot_9a37_r(space, offset, mem_mask); } - virtual DECLARE_READ16_MEMBER(addon_r) override { return m_sma_prot->random_r(space, offset, mem_mask); } + virtual uint16_t protection_r(address_space &space, offs_t offset) override { return m_sma_prot->prot_9a37_r(); } + virtual uint16_t addon_r(offs_t offset) override { return m_sma_prot->random_r(); } virtual uint32_t get_bank_base(uint16_t sel) override { return 0; } virtual void decrypt_all(DECRYPT_ALL_PARAMS) override {} |