summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mb8421.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-03-26 11:13:37 +1100
committer Vas Crabb <vas@vastheman.com>2019-03-26 11:13:37 +1100
commit97b67170277437131adf6ed4d60139c172529e4f (patch)
tree7a5cbf608f191075f1612b1af15832c206a3fe2d /src/devices/machine/mb8421.h
parentb380514764cf857469bae61c11143a19f79a74c5 (diff)
(nw) Clean up the mess on master
This effectively reverts b380514764cf857469bae61c11143a19f79a74c5 and c24473ddff715ecec2e258a6eb38960cf8c8e98e, restoring the state at 598cd5227223c3b04ca31f0dbc1981256d9ea3ff. Before pushing, please check that what you're about to push is sane. Check your local commit log and ensure there isn't anything out-of-place before pushing to mainline. When things like this happen, it wastes everyone's time. I really don't need this in a week when real work™ is busting my balls and I'm behind where I want to be with preparing for MAME release.
Diffstat (limited to 'src/devices/machine/mb8421.h')
-rw-r--r--src/devices/machine/mb8421.h16
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