diff options
Diffstat (limited to 'src/devices/cpu/i86/i86.h')
-rw-r--r-- | src/devices/cpu/i86/i86.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/i86/i86.h b/src/devices/cpu/i86/i86.h index 55202931ae1..09b2696e38b 100644 --- a/src/devices/cpu/i86/i86.h +++ b/src/devices/cpu/i86/i86.h @@ -369,6 +369,9 @@ public: template <class Object> devcb_base &set_if_handler(Object &&cb) { return m_out_if_func.set_callback(std::forward<Object>(cb)); } template <class Object> devcb_base &set_esc_opcode_handler(Object &&cb) { return m_esc_opcode_handler.set_callback(std::forward<Object>(cb)); } template <class Object> devcb_base &set_esc_data_handler(Object &&cb) { return m_esc_data_handler.set_callback(std::forward<Object>(cb)); } + auto if_handler() { return m_out_if_func.bind(); } + auto esc_opcode_handler() { return m_esc_opcode_handler.bind(); } + auto esc_data_handler() { return m_esc_data_handler.bind(); } protected: i8086_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, int data_bus_size); |