diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2019-02-01 10:21:55 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2019-02-01 10:21:55 -0500 |
commit | 5bb63697f066a04c3072f6e4bed52a5bb446d7c8 (patch) | |
tree | 5a8afedabb9fdba8721ac22bbfcbe25a2d248d83 /src/devices/machine/mb8421.h | |
parent | 1ec7d89be788b272b6bef7bf631548608d786ccc (diff) |
mb8421: Eliminate address_space argument from read/write handlers (nw)
Diffstat (limited to 'src/devices/machine/mb8421.h')
-rw-r--r-- | src/devices/machine/mb8421.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/machine/mb8421.h b/src/devices/machine/mb8421.h index 4ef0a010c9b..00e8f8d207f 100644 --- a/src/devices/machine/mb8421.h +++ b/src/devices/machine/mb8421.h @@ -108,10 +108,10 @@ public: u8 peek(offs_t offset) const { return m_ram[offset & 0x7ff]; } - DECLARE_WRITE8_MEMBER(left_w); - DECLARE_READ8_MEMBER(left_r); - DECLARE_WRITE8_MEMBER(right_w); - DECLARE_READ8_MEMBER(right_r); + void left_w(offs_t offset, u8 data); + u8 left_r(offs_t offset); + void right_w(offs_t offset, u8 data); + u8 right_r(offs_t offset); protected: mb8421_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock); @@ -140,10 +140,10 @@ public: u16 peek(offs_t offset) const { return m_ram[offset & 0x7ff]; } - DECLARE_WRITE16_MEMBER(left_w); - DECLARE_READ16_MEMBER(left_r); - DECLARE_WRITE16_MEMBER(right_w); - DECLARE_READ16_MEMBER(right_r); + void left_w(offs_t offset, u16 data, u16 mem_mask = 0xffff); + u16 left_r(offs_t offset, u16 mem_mask = 0xffff); + void right_w(offs_t offset, u16 data, u16 mem_mask = 0xffff); + u16 right_r(offs_t offset, u16 mem_mask = 0xffff); protected: // device-level overrides |