summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/intelfsh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/intelfsh.h')
-rw-r--r--src/devices/machine/intelfsh.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/intelfsh.h b/src/devices/machine/intelfsh.h
index edaa23d69f6..7dcf9f7e173 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
- uint8_t read(offs_t offset) { return read_full(offset); }
- void write(offs_t offset, uint8_t data) { write_full(offset, data); }
+ DECLARE_READ8_MEMBER(read) { return read_full(offset); }
+ DECLARE_WRITE8_MEMBER(write) { 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
- uint16_t read(offs_t offset) { return read_full(offset); }
- void write(offs_t offset, uint16_t data) { write_full(offset, data); }
+ DECLARE_READ16_MEMBER(read) { return read_full(offset); }
+ DECLARE_WRITE16_MEMBER(write) { 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; }