mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
Cleanups
This commit is contained in:
parent
9bea4deac0
commit
334cbd55d8
@ -639,15 +639,19 @@ static void rarch_task_overlay_handler(retro_task_t *task)
|
||||
case OVERLAY_STATUS_DEFERRED_DONE:
|
||||
default:
|
||||
case OVERLAY_STATUS_NONE:
|
||||
task->finished = true;
|
||||
goto task_finished;
|
||||
}
|
||||
|
||||
if (task->cancelled)
|
||||
{
|
||||
task->finished = true;
|
||||
goto task_finished;
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
task_finished:
|
||||
task->finished = true;
|
||||
|
||||
if (task->cancelled)
|
||||
{
|
||||
@ -663,7 +667,7 @@ task_finished:
|
||||
|
||||
free(loader->overlays);
|
||||
}
|
||||
else
|
||||
else if (task->finished)
|
||||
{
|
||||
data = (overlay_task_data_t*)calloc(1, sizeof(*data));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user