From 8ce4ed7164dcf435fa1f555af6dd3773e0a959a0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 29 Feb 2020 12:55:33 +0100 Subject: [PATCH] Cleanups --- tasks/task_image.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/task_image.c b/tasks/task_image.c index e244e58429..d21170d3e2 100644 --- a/tasks/task_image.c +++ b/tasks/task_image.c @@ -144,8 +144,8 @@ static int task_image_iterate_process_transfer(struct nbio_image_handle *image) if (retval != IMAGE_PROCESS_NEXT) break; - } - while (cpu_features_get_time_usec() - start_time < image->frame_duration); + }while(cpu_features_get_time_usec() - start_time + < image->frame_duration); if (retval == IMAGE_PROCESS_NEXT) return 0; @@ -308,8 +308,8 @@ bool task_image_load_handler(retro_task_t *task) image->status = IMAGE_STATUS_TRANSFER_PARSE; break; } - } - while (cpu_features_get_time_usec() - start_time < image->frame_duration); + }while (cpu_features_get_time_usec() - start_time + < image->frame_duration); } break; case IMAGE_STATUS_PROCESS_TRANSFER_PARSE: