From 32353b10bb4c76239c149353023db340cc7de5ef Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 22 Feb 2016 18:18:12 +0100 Subject: [PATCH] Take out async job code from imageviewer core --- cores/libretro-imageviewer/image_core.c | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/cores/libretro-imageviewer/image_core.c b/cores/libretro-imageviewer/image_core.c index f899783eea..edd02bb84b 100644 --- a/cores/libretro-imageviewer/image_core.c +++ b/cores/libretro-imageviewer/image_core.c @@ -9,10 +9,6 @@ #include #include -#ifdef HAVE_THREADS -#include -#endif - #define STB_IMAGE_IMPLEMENTATION #ifdef RARCH_INTERNAL @@ -50,17 +46,6 @@ static bool image_uploaded; static bool slideshow_enable; struct string_list *file_list; -#ifdef HAVE_THREADS -static async_job_t *imageviewer_jobs; - -#if 0 -static int imageviewer_async_job_add(async_task_t task, void *payload) -{ - return async_job_add(imageviewer_jobs, task, payload); -} -#endif -#endif - #if 0 #define DUPE_TEST #endif @@ -104,9 +89,6 @@ void IMAGE_CORE_PREFIX(retro_init)(void) image_width = 0; image_height = 0; -#ifdef HAVE_THREADS - imageviewer_jobs = async_job_new(); -#endif } void IMAGE_CORE_PREFIX(retro_deinit)(void) @@ -116,11 +98,6 @@ void IMAGE_CORE_PREFIX(retro_deinit)(void) image_buffer = NULL; image_width = 0; image_height = 0; - -#ifdef HAVE_THREADS - async_job_free(imageviewer_jobs); - imageviewer_jobs = NULL; -#endif } void IMAGE_CORE_PREFIX(retro_set_environment)(retro_environment_t cb)