summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/k054156_k054157_k056832.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/k054156_k054157_k056832.cpp')
-rw-r--r--src/mame/video/k054156_k054157_k056832.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/video/k054156_k054157_k056832.cpp b/src/mame/video/k054156_k054157_k056832.cpp
index c908c4ce72d..2fb5942aabe 100644
--- a/src/mame/video/k054156_k054157_k056832.cpp
+++ b/src/mame/video/k054156_k054157_k056832.cpp
@@ -333,6 +333,9 @@ void k056832_device::finalize_init()
void k056832_device::device_start()
{
+ if (!palette().device().started())
+ throw device_missing_dependencies();
+
memset(m_regs, 0x00, sizeof(m_regs) );
memset(m_regsb, 0x00, sizeof(m_regsb) );