diff options
Diffstat (limited to 'src/devices/bus/isa/isa.h')
-rw-r--r-- | src/devices/bus/isa/isa.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/isa/isa.h b/src/devices/bus/isa/isa.h index 36654de4e17..3137a1b5d15 100644 --- a/src/devices/bus/isa/isa.h +++ b/src/devices/bus/isa/isa.h @@ -211,14 +211,14 @@ public: // for ISA8, put the 8-bit configs in the primary slots and the 16-bit configs in the secondary virtual space_config_vector memory_space_config() const override; - void install_device(offs_t start, offs_t end, read8_delegate rhandler, write8_delegate whandler); + template<typename R, typename W> void install_device(offs_t start, offs_t end, R rhandler, W whandler); template<typename T> void install_device(offs_t addrstart, offs_t addrend, T &device, void (T::*map)(class address_map &map), uint64_t unitmask = ~u64(0)) { m_iospace->install_device(addrstart, addrend, device, map, unitmask); } void install_bank(offs_t start, offs_t end, const char *tag, uint8_t *data); void install_rom(device_t *dev, offs_t start, offs_t end, const char *tag, const char *region); - void install_memory(offs_t start, offs_t end, read8_delegate rhandler, write8_delegate whandler); + template<typename R, typename W> void install_memory(offs_t start, offs_t end, R rhandler, W whandler); void unmap_device(offs_t start, offs_t end) const { m_iospace->unmap_readwrite(start, end); } void unmap_bank(offs_t start, offs_t end); @@ -263,7 +263,7 @@ public: protected: isa8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); - void install_space(int spacenum, offs_t start, offs_t end, read8_delegate rhandler, write8_delegate whandler); + template<typename R, typename W> void install_space(int spacenum, offs_t start, offs_t end, R rhandler, W whandler); // device-level overrides virtual void device_start() override; |