summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sms_ctrl/smsctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/sms_ctrl/smsctrl.h')
-rw-r--r--src/devices/bus/sms_ctrl/smsctrl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/bus/sms_ctrl/smsctrl.h b/src/devices/bus/sms_ctrl/smsctrl.h
index af475a68a66..ced9176efb0 100644
--- a/src/devices/bus/sms_ctrl/smsctrl.h
+++ b/src/devices/bus/sms_ctrl/smsctrl.h
@@ -62,6 +62,11 @@ public:
void th_pin_w(int state);
+ template <typename T> void set_screen_tag(T &&tag) { m_screen.set_tag(std::forward<T>(tag)); }
+
+ // for peripherals that interact with the machine's screen
+ required_device<screen_device> m_screen;
+
protected:
// device-level overrides
virtual void device_start() override;