diff options
Diffstat (limited to 'src/devices/machine/intelfsh.h')
-rw-r--r-- | src/devices/machine/intelfsh.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/intelfsh.h b/src/devices/machine/intelfsh.h index 7dcf9f7e173..edaa23d69f6 100644 --- a/src/devices/machine/intelfsh.h +++ b/src/devices/machine/intelfsh.h @@ -102,8 +102,8 @@ class intelfsh8_device : public intelfsh_device { public: // public interface - DECLARE_READ8_MEMBER(read) { return read_full(offset); } - DECLARE_WRITE8_MEMBER(write) { write_full(offset, data); } + uint8_t read(offs_t offset) { return read_full(offset); } + void write(offs_t offset, uint8_t data) { write_full(offset, data); } uint8_t read_raw(offs_t offset) { return m_data[offset]; } void write_raw(offs_t offset, uint8_t data) { m_data[offset] = data; } @@ -120,8 +120,8 @@ class intelfsh16_device : public intelfsh_device { public: // public interface - DECLARE_READ16_MEMBER(read) { return read_full(offset); } - DECLARE_WRITE16_MEMBER(write) { write_full(offset, data); } + uint16_t read(offs_t offset) { return read_full(offset); } + void write(offs_t offset, uint16_t data) { write_full(offset, data); } uint16_t read_raw(offs_t offset) { return m_data[offset*2] | (m_data[offset*2+1] << 8); } void write_raw(offs_t offset, uint16_t data) { m_data[offset*2] = data; m_data[offset*2+1] = data >> 8; } |