diff options
Diffstat (limited to 'src/devices/machine/gen_latch.h')
-rw-r--r-- | src/devices/machine/gen_latch.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/devices/machine/gen_latch.h b/src/devices/machine/gen_latch.h index 456bbaba8f7..d98bf428646 100644 --- a/src/devices/machine/gen_latch.h +++ b/src/devices/machine/gen_latch.h @@ -22,23 +22,6 @@ DECLARE_DEVICE_TYPE(GENERIC_LATCH_16, generic_latch_16_device) //************************************************************************** -// INTERFACE CONFIGURATION MACROS -//************************************************************************** - -#define MCFG_GENERIC_LATCH_8_ADD(_tag) \ - MCFG_DEVICE_ADD(_tag, GENERIC_LATCH_8, 0) - -#define MCFG_GENERIC_LATCH_16_ADD(_tag) \ - MCFG_DEVICE_ADD(_tag, GENERIC_LATCH_16, 0) - -#define MCFG_GENERIC_LATCH_DATA_PENDING_CB(_devcb) \ - downcast<generic_latch_base_device &>(*device).set_data_pending_callback(DEVCB_##_devcb); - -#define MCFG_GENERIC_LATCH_SEPARATE_ACKNOWLEDGE(_ack) \ - downcast<generic_latch_base_device &>(*device).set_separate_acknowledge(_ack); - - -//************************************************************************** // TYPE DEFINITIONS //************************************************************************** @@ -48,7 +31,6 @@ class generic_latch_base_device : public device_t { public: // configuration - template <class Object> devcb_base &set_data_pending_callback(Object &&cb) { return m_data_pending_cb.set_callback(std::forward<Object>(cb)); } auto data_pending_callback() { return m_data_pending_cb.bind(); } void set_separate_acknowledge(bool ack) { m_separate_acknowledge = ack; } |