diff options
author | 2020-05-21 22:38:18 -0400 | |
---|---|---|
committer | 2020-05-21 22:38:18 -0400 | |
commit | f95267bf5e215e0f140407fecaf7c16c7da90f81 (patch) | |
tree | 4b2da8dca374c2e247ca84a841af34d09648fb65 /src/devices/bus/spc1000/exp.h | |
parent | 363485b628f370714ea065fcbd2484d7e0510c1e (diff) |
Various buses and associated drivers: Simplify handler signatures (nw)
Diffstat (limited to 'src/devices/bus/spc1000/exp.h')
-rw-r--r-- | src/devices/bus/spc1000/exp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/spc1000/exp.h b/src/devices/bus/spc1000/exp.h index ca6960809a1..e2b1baeb958 100644 --- a/src/devices/bus/spc1000/exp.h +++ b/src/devices/bus/spc1000/exp.h @@ -14,8 +14,8 @@ public: virtual ~device_spc1000_card_interface(); // reading and writing - virtual DECLARE_READ8_MEMBER(read) { return 0xff; } - virtual DECLARE_WRITE8_MEMBER(write) { } + virtual uint8_t read(offs_t offset) { return 0xff; } + virtual void write(offs_t offset, uint8_t data) { } protected: device_spc1000_card_interface(const machine_config &mconfig, device_t &device); @@ -41,8 +41,8 @@ public: virtual ~spc1000_exp_device(); // reading and writing - virtual DECLARE_READ8_MEMBER(read); - virtual DECLARE_WRITE8_MEMBER(write); + uint8_t read(offs_t offset); + void write(offs_t offset, uint8_t data); protected: // device-level overrides |