summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/screen.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-08-22 18:21:06 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-08-22 18:23:12 -0400
commit56ee4e784c8a30244700f25ae5cd2b3d197aa5c5 (patch)
treecc78ec4f7cc58c166713d3fd727fcd3fc7bd72a3 /src/emu/screen.h
parent471d123fd62cad0e8274ddb8da56726a48b5470c (diff)
screen.h: Fix have_screen_update(), which was broken and returned false under any valid configuration, and rename the function has_screen_update(). This fixes regressions in granny and other drivers using custom update functions with CDP1861, CDP1864 and TMS992x VDPs.
tms9928a: Eliminate the clock validity check, which has fulfilled its purpose (nw)
Diffstat (limited to 'src/emu/screen.h')
-rw-r--r--src/emu/screen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/screen.h b/src/emu/screen.h
index 2b72a2691ac..3215fc6cd7e 100644
--- a/src/emu/screen.h
+++ b/src/emu/screen.h
@@ -195,7 +195,7 @@ public:
float yoffset() const { return m_yoffset; }
float xscale() const { return m_xscale; }
float yscale() const { return m_yscale; }
- bool have_screen_update() const { return !m_screen_update_ind16.isnull() && !m_screen_update_rgb32.isnull(); }
+ bool has_screen_update() const { return !m_screen_update_ind16.isnull() || !m_screen_update_rgb32.isnull(); }
// inline configuration helpers
void set_type(screen_type_enum type) { assert(!configured()); m_type = type; }