diff options
author | 2019-01-31 14:49:38 +0900 | |
---|---|---|
committer | 2019-01-31 14:49:38 +0900 | |
commit | 5563d0dcd6caefa3c2d165cdea0e864f19faff71 (patch) | |
tree | 908e04c99b49cff5e48fd2d96675fbdf0b58dca4 /src/devices/sound/2203intf.h | |
parent | edf3b55b78cd220537b1c403af5cb3a15d893cf2 (diff) |
Remove unnecessary address_space arguments on FM sound chips read/write handlers
2203intf.cpp, 2608intf.cpp, 2610intf.cpp, 2612intf.cpp, 262intf.cpp, 3526intf.cpp, 3812intf.cpp, 8950intf.cpp, ym2151.cpp, ym2413.cpp, ymf271.cpp, ymf278b.cpp : Simplified handlers (nw)
Diffstat (limited to 'src/devices/sound/2203intf.h')
-rw-r--r-- | src/devices/sound/2203intf.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/sound/2203intf.h b/src/devices/sound/2203intf.h index 93e09d9a9dc..8dd456f50bd 100644 --- a/src/devices/sound/2203intf.h +++ b/src/devices/sound/2203intf.h @@ -20,13 +20,13 @@ public: template <class Object> devcb_base &set_irq_handler(Object &&cb) { return m_irq_handler.set_callback(std::forward<Object>(cb)); } auto irq_handler() { return m_irq_handler.bind(); } - DECLARE_READ8_MEMBER( read ); - DECLARE_WRITE8_MEMBER( write ); + u8 read(offs_t offset); + void write(offs_t offset, u8 data); - DECLARE_READ8_MEMBER( status_port_r ); - DECLARE_READ8_MEMBER( read_port_r ); - DECLARE_WRITE8_MEMBER( control_port_w ); - DECLARE_WRITE8_MEMBER( write_port_w ); + u8 status_port_r(); + u8 read_port_r(); + void control_port_w(u8 data); + void write_port_w(u8 data); // update request from fm.cpp static void update_request(device_t *param) { downcast<ym2203_device *>(param)->update_request(); } |