summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/st0020.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/st0020.cpp')
-rw-r--r--src/mame/video/st0020.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/video/st0020.cpp b/src/mame/video/st0020.cpp
index f58b1d4e430..35bb1d5e4e3 100644
--- a/src/mame/video/st0020.cpp
+++ b/src/mame/video/st0020.cpp
@@ -52,6 +52,9 @@ static const gfx_layout layout_16x8x8_2 =
void st0020_device::device_start()
{
+ if (!palette().device().started())
+ throw device_missing_dependencies();
+
memory_region* rgn = memregion(tag());
if (rgn)