diff options
author | 2020-06-12 18:25:17 +0200 | |
---|---|---|
committer | 2020-06-12 18:25:17 +0200 | |
commit | 72397ac72513b23256cbdb876c9875541f7c9cc0 (patch) | |
tree | 1ca10539430469a09189334c77007ebb64964ec6 /src/devices/bus/neogeo/pvc.h | |
parent | a61d5c48366d14ee829faf74707381d9ff65b22c (diff) |
drivers starting with m, n and o: removed read* and write* macros (nw)
Diffstat (limited to 'src/devices/bus/neogeo/pvc.h')
-rw-r--r-- | src/devices/bus/neogeo/pvc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/neogeo/pvc.h b/src/devices/bus/neogeo/pvc.h index 00be5322f59..23f1bbfede5 100644 --- a/src/devices/bus/neogeo/pvc.h +++ b/src/devices/bus/neogeo/pvc.h @@ -21,8 +21,8 @@ public: // reading and writing virtual uint32_t get_bank_base(uint16_t sel) override { return m_pvc_prot->get_bank_base(); } - virtual DECLARE_READ16_MEMBER(protection_r) override { return m_pvc_prot->protection_r(offset); } - virtual DECLARE_WRITE16_MEMBER(protection_w) override { m_pvc_prot->protection_w(offset, data, mem_mask); } + virtual uint16_t protection_r(address_space &space, offs_t offset) override { return m_pvc_prot->protection_r(offset); } + virtual void protection_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0) override { m_pvc_prot->protection_w(offset, data, mem_mask); } virtual void decrypt_all(DECRYPT_ALL_PARAMS) override { } virtual int get_fixed_bank_type() override { return 0; } |