diff options
| author | 2018-08-11 15:00:54 +0200 | |
|---|---|---|
| committer | 2018-08-11 15:01:20 +0200 | |
| commit | d5d598a1c021c19e992e5f4cd8f56aa8c697076e (patch) | |
| tree | 3deeca26e7b770f0140041a1902d3b9bee21f6f4 /src/devices/machine/74148.cpp | |
| parent | 543e49cc2443e3ab531168ec80e93dd3afeea795 (diff) | |
-7200fifo, 7400, 7404, 74123, 74145, 74148, 74153, 74157, 74161, 74259: [Ryan Holtz]
* Removed MCFG and old devcb macros.
AJR, any breakage? nw
Diffstat (limited to 'src/devices/machine/74148.cpp')
| -rw-r--r-- | src/devices/machine/74148.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/machine/74148.cpp b/src/devices/machine/74148.cpp index 1b8033bc297..45ce281ed51 100644 --- a/src/devices/machine/74148.cpp +++ b/src/devices/machine/74148.cpp @@ -49,6 +49,7 @@ DEFINE_DEVICE_TYPE(TTL74148, ttl74148_device, "74148", "74148 TTL") ttl74148_device::ttl74148_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, TTL74148, tag, owner, clock) + , m_output_cb(*this) , m_enable_input(0) , m_output(0) , m_output_valid(0) @@ -67,7 +68,7 @@ ttl74148_device::ttl74148_device(const machine_config &mconfig, const char *tag, void ttl74148_device::device_start() { - m_output_cb.bind_relative_to(*owner()); + m_output_cb.resolve_safe(); save_item(NAME(m_input_lines)); save_item(NAME(m_enable_input)); @@ -164,7 +165,7 @@ void ttl74148_device::update() m_last_output_valid = m_output_valid; m_last_enable_output = m_enable_output; - m_output_cb(); + m_output_cb(m_output); } } |
