summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/segaic24.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/segaic24.cpp')
-rw-r--r--src/mame/video/segaic24.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/video/segaic24.cpp b/src/mame/video/segaic24.cpp
index d4bb17157b5..6747046de0b 100644
--- a/src/mame/video/segaic24.cpp
+++ b/src/mame/video/segaic24.cpp
@@ -77,6 +77,9 @@ TILE_GET_INFO_MEMBER(segas24_tile::tile_info_1w)
void segas24_tile::device_start()
{
+ if (!palette().device().started())
+ throw device_missing_dependencies();
+
char_ram = std::make_unique<uint16_t[]>(0x80000/2);
tile_ram = std::make_unique<uint16_t[]>(0x10000/2);