mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Cleanups
This commit is contained in:
parent
9dcc941ec5
commit
8ce4ed7164
@ -144,8 +144,8 @@ static int task_image_iterate_process_transfer(struct nbio_image_handle *image)
|
|||||||
|
|
||||||
if (retval != IMAGE_PROCESS_NEXT)
|
if (retval != IMAGE_PROCESS_NEXT)
|
||||||
break;
|
break;
|
||||||
}
|
}while(cpu_features_get_time_usec() - start_time
|
||||||
while (cpu_features_get_time_usec() - start_time < image->frame_duration);
|
< image->frame_duration);
|
||||||
|
|
||||||
if (retval == IMAGE_PROCESS_NEXT)
|
if (retval == IMAGE_PROCESS_NEXT)
|
||||||
return 0;
|
return 0;
|
||||||
@ -308,8 +308,8 @@ bool task_image_load_handler(retro_task_t *task)
|
|||||||
image->status = IMAGE_STATUS_TRANSFER_PARSE;
|
image->status = IMAGE_STATUS_TRANSFER_PARSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}while (cpu_features_get_time_usec() - start_time
|
||||||
while (cpu_features_get_time_usec() - start_time < image->frame_duration);
|
< image->frame_duration);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case IMAGE_STATUS_PROCESS_TRANSFER_PARSE:
|
case IMAGE_STATUS_PROCESS_TRANSFER_PARSE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user