diff --git a/tasks/task_image.c b/tasks/task_image.c index 3a5277cafd..baf13b2b26 100644 --- a/tasks/task_image.c +++ b/tasks/task_image.c @@ -185,7 +185,6 @@ static int rarch_main_data_image_iterate_transfer(nbio_handle_t *nbio) goto error; } - nbio->image.frame_count++; return 0; error: @@ -200,7 +199,6 @@ static void rarch_task_image_load_free_internal(nbio_handle_t *nbio) image->handle = NULL; image->cb = NULL; - image->frame_count = 0; } static int cb_nbio_generic(nbio_handle_t *nbio, size_t *len) diff --git a/tasks/tasks_internal.h b/tasks/tasks_internal.h index c393fb1609..58ff581b86 100644 --- a/tasks/tasks_internal.h +++ b/tasks/tasks_internal.h @@ -65,7 +65,6 @@ typedef struct nbio_image_handle size_t size; unsigned processing_pos_increment; unsigned pos_increment; - uint64_t frame_count; int processing_final_state; unsigned status; } nbio_image_handle_t;