summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/tms9928a.cpp
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/devices/video/tms9928a.cpp
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/devices/video/tms9928a.cpp')
-rw-r--r--src/devices/video/tms9928a.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/devices/video/tms9928a.cpp b/src/devices/video/tms9928a.cpp
index bf43f141d28..55fae79ef2b 100644
--- a/src/devices/video/tms9928a.cpp
+++ b/src/devices/video/tms9928a.cpp
@@ -75,7 +75,7 @@ void tms9928a_device::device_config_complete()
if (!has_screen())
return;
- if (!screen().have_screen_update())
+ if (!screen().has_screen_update())
screen().set_screen_update(screen_update_rgb32_delegate(FUNC(tms9928a_device::screen_update), this));
if (!screen().refresh_attoseconds())
@@ -130,12 +130,6 @@ tms9929a_device::tms9929a_device(const machine_config &mconfig, const char *tag,
{
}
-void tms9928a_device::device_validity_check(validity_checker &valid) const
-{
- if (clock() < 6'000'000)
- osd_printf_error("%d Hz clock is too slow!\n", clock());
-}
-
device_memory_interface::space_config_vector tms9928a_device::memory_space_config() const
{
return space_config_vector {