Added "Mandatory artwork is missing" error [Oliver Stöneberg]

This commit is contained in:
Miodrag Milanovic 2011-04-16 11:35:11 +00:00
parent 67cf590df8
commit 8c838b22ee

View File

@ -1341,6 +1341,9 @@ void render_target::compute_minimum_size(INT32 &minwidth, INT32 &minheight)
return;
}
if (m_curview == NULL)
throw emu_fatalerror("Mandatory artwork is missing");
// scan the current view for all screens
for (item_layer layer = ITEM_LAYER_FIRST; layer < ITEM_LAYER_MAX; layer++)