(task_overlay) Fix bug introduced by c342bb4

This commit is contained in:
Higor Eurípedes 2015-11-24 10:32:18 -03:00
parent 3ad560279f
commit 6e43bd4893

View File

@ -621,17 +621,9 @@ static void rarch_task_overlay_handler(rarch_task_t *task)
case OVERLAY_STATUS_DEFERRED_LOADING_RESOLVE: case OVERLAY_STATUS_DEFERRED_LOADING_RESOLVE:
rarch_task_overlay_resolve_iterate(loader); rarch_task_overlay_resolve_iterate(loader);
break; break;
case OVERLAY_STATUS_DEFERRED_DONE:
#if 0
input_overlay_new_done();
break;
#endif
case OVERLAY_STATUS_DEFERRED_ERROR: case OVERLAY_STATUS_DEFERRED_ERROR:
#if 0 task->error = strdup("Failed to load the overlay.");
input_overlay_free(); case OVERLAY_STATUS_DEFERRED_DONE:
break;
#endif
break;
default: default:
case OVERLAY_STATUS_NONE: case OVERLAY_STATUS_NONE:
goto task_finished; goto task_finished;