summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/k053244_k053245.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/k053244_k053245.cpp')
-rw-r--r--src/mame/video/k053244_k053245.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/video/k053244_k053245.cpp b/src/mame/video/k053244_k053245.cpp
index 186942fa794..2d9e0e1b4c4 100644
--- a/src/mame/video/k053244_k053245.cpp
+++ b/src/mame/video/k053244_k053245.cpp
@@ -118,6 +118,9 @@ void k05324x_device::set_bpp(device_t &device, int bpp)
void k05324x_device::device_start()
{
+ if (!palette().device().started())
+ throw device_missing_dependencies();
+
/* decode the graphics */
decode_gfx();
gfx(0)->set_colors(palette().entries() / gfx(0)->depth());