summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/etc/template_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/etc/template_device.h')
-rw-r--r--src/mame/etc/template_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/etc/template_device.h b/src/mame/etc/template_device.h
index 1a2c7bdfb04..c98aab13888 100644
--- a/src/mame/etc/template_device.h
+++ b/src/mame/etc/template_device.h
@@ -32,8 +32,8 @@ public:
xxx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// I/O operations
- DECLARE_WRITE8_MEMBER( write );
- DECLARE_READ8_MEMBER( read );
+ void write(address_space &space, offs_t offset, uint8_t data, uint8_t mem_mask = ~0);
+ uint8_t read(address_space &space, offs_t offset, uint8_t mem_mask = ~0);
protected:
// device-level overrides