diff options
Diffstat (limited to 'src/mame/video/k051316.cpp')
-rw-r--r-- | src/mame/video/k051316.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/video/k051316.cpp b/src/mame/video/k051316.cpp index 22b78747023..e60bcc06bac 100644 --- a/src/mame/video/k051316.cpp +++ b/src/mame/video/k051316.cpp @@ -150,6 +150,9 @@ void k051316_device::set_bpp(device_t &device, int bpp) void k051316_device::device_start() { + if (!palette().device().started()) + throw device_missing_dependencies(); + decode_gfx(); gfx(0)->set_colors(palette().entries() / gfx(0)->depth()); |