Remove unused task_queue

This commit is contained in:
twinaphex 2016-03-08 17:29:28 +01:00
parent 9978241e36
commit 998ba42e58
2 changed files with 1 additions and 10 deletions

View File

@ -155,10 +155,7 @@ SOURCES_C += $(LIBRETRO_DIR)/file/retro_file.c \
$(MEDNAFEN_DIR)/trio/triostr.c
ifeq ($(NEED_THREADING), 1)
SOURCES_C += $(LIBRETRO_DIR)/rthreads/rthreads.c \
$(LIBRETRO_DIR)/rthreads/async_job.c \
$(LIBRETRO_DIR)/rthreads/rsemaphore.c \
$(LIBRETRO_DIR)/queues/task_queue.c
SOURCES_C += $(LIBRETRO_DIR)/rthreads/rthreads.c
endif
endif

View File

@ -11,7 +11,6 @@
#include "libretro.h"
#include <rthreads/rthreads.h>
#include <retro_stat.h>
#include <queues/task_queue.h>
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES)
#include <glsm/glsm.h>
#endif
@ -2391,8 +2390,6 @@ void retro_init(void)
thread_enable = true;
#endif
task_queue_ctl(TASK_QUEUE_CTL_INIT, &thread_enable);
if (environ_cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &log))
log_cb = log.log;
else
@ -3353,7 +3350,6 @@ void retro_run(void)
{
bool updated = false;
task_queue_ctl(TASK_QUEUE_CTL_CHECK, NULL);
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES)
glsm_ctl(GLSM_CTL_STATE_BIND, NULL);
#endif
@ -3677,8 +3673,6 @@ void retro_deinit(void)
delete surf;
surf = NULL;
task_queue_ctl(TASK_QUEUE_CTL_DEINIT, NULL);
log_cb(RETRO_LOG_INFO, "[%s]: Samples / Frame: %.5f\n",
MEDNAFEN_CORE_NAME, (double)audio_frames / video_frames);
log_cb(RETRO_LOG_INFO, "[%s]: Estimated FPS: %.5f\n",