From 390a7d76c6076f0032d0dd795aa2eeb5a4d88799 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 20 Jun 2016 06:16:46 +0200 Subject: [PATCH] (task_queue/RetroArch) Add ugly kludge so that we print progress --- libretro-common/queues/task_queue.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libretro-common/queues/task_queue.c b/libretro-common/queues/task_queue.c index 0f09c5e0ed..34676d9b9b 100644 --- a/libretro-common/queues/task_queue.c +++ b/libretro-common/queues/task_queue.c @@ -63,6 +63,13 @@ static void task_queue_msg_push(unsigned prio, unsigned duration, va_end(ap); /* print something here */ + +#ifdef RARCH_INTERNAL + /* TODO/FIXME - ugly */ + extern void runloop_msg_queue_push(const char *msg, unsigned prio, + unsigned duration, bool flush); + runloop_msg_queue_push(buf, prio, duration, flush); +#endif } static void task_queue_push_progress(retro_task_t *task)