From 86171551b7d59f6dab64ac381f45d9a58170ec26 Mon Sep 17 00:00:00 2001 From: AJR Date: Fri, 7 Apr 2017 22:10:48 -0400 Subject: Fix palette-related regressions in Konami GX games (nw) --- src/mame/video/k053246_k053247_k055673.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mame/video/k053246_k053247_k055673.cpp b/src/mame/video/k053246_k053247_k055673.cpp index 453242840ec..394a1e7c445 100644 --- a/src/mame/video/k053246_k053247_k055673.cpp +++ b/src/mame/video/k053246_k053247_k055673.cpp @@ -928,6 +928,9 @@ k055673_device::k055673_device(const machine_config &mconfig, const char *tag, d void k055673_device::device_start() { + if (!palette().device().started()) + throw device_missing_dependencies(); + int gfx_index = 0; uint32_t total; @@ -1090,6 +1093,9 @@ k053247_device::k053247_device(const machine_config &mconfig, device_type type, void k053247_device::device_start() { + if (!palette().device().started()) + throw device_missing_dependencies(); + uint32_t total; static const gfx_layout spritelayout = { -- cgit v1.2.3