(runloop_data.c) Make rarch_main_data_overlay_iterate more robust

This commit is contained in:
twinaphex 2015-04-26 00:27:08 +02:00
parent ec6b2dd0c5
commit a84d53ebba

View File

@ -816,7 +816,7 @@ static void rarch_main_data_overlay_iterate(bool is_thread, data_runloop_t *runl
if (rarch_main_is_idle())
return;
if (!driver->overlay)
if (!driver || !driver->overlay)
return;
#ifdef HAVE_THREADS