summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/74148.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/74148.h')
-rw-r--r--src/devices/machine/74148.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/devices/machine/74148.h b/src/devices/machine/74148.h
index 37ca98cf0ec..8efedd3ec42 100644
--- a/src/devices/machine/74148.h
+++ b/src/devices/machine/74148.h
@@ -52,10 +52,13 @@ typedef device_delegate<void (void)> ttl74148_output_delegate;
class ttl74148_device : public device_t
{
public:
- ttl74148_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ttl74148_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~ttl74148_device() {}
- static void set_output_callback(device_t &device, ttl74148_output_delegate callback) { downcast<ttl74148_device &>(device).m_output_cb = callback; }
+ static void set_output_callback(device_t &device, ttl74148_output_delegate callback)
+ {
+ downcast<ttl74148_device &>(device).m_output_cb = callback;
+ }
/* must call update() after setting the inputs */
void update();