summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/divideo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/divideo.h')
-rw-r--r--src/emu/divideo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/divideo.h b/src/emu/divideo.h
index 8c449b9bddc..e92000f4835 100644
--- a/src/emu/divideo.h
+++ b/src/emu/divideo.h
@@ -47,12 +47,14 @@ public:
// getters
screen_device &screen() const { return *m_screen; }
+ bool has_screen() const { return m_screen != nullptr; }
protected:
// optional operation overrides
virtual void interface_validity_check(validity_checker &valid) const override;
virtual void interface_pre_start() override;
+private:
// configuration state
bool m_screen_required; // is a screen required?
const char * m_screen_tag; // configured tag for the target screen