From f04cb1deb9852a3be00174ca8c7bb0ebd21c99e7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 22 Feb 2015 08:28:28 +0100 Subject: [PATCH] Addendum to earlier commit --- runloop.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/runloop.c b/runloop.c index dca6f64a3a..4af4e15822 100644 --- a/runloop.c +++ b/runloop.c @@ -1027,6 +1027,9 @@ static int cb_nbio_image_overlay_load(void *data, size_t len) (void)data; (void)len; + g_extern.nbio.is_blocking = true; + g_extern.nbio.is_finished = false; + return 0; } #endif @@ -1052,7 +1055,7 @@ static int rarch_main_iterate_nbio_poll(void) if (!path) return -1; - /* Can only deal with one HTTP transfer at a time for now */ + /* Can only deal with one NBIO transfer at a time for now */ if (g_extern.nbio.handle) return -1; @@ -1074,8 +1077,10 @@ static int rarch_main_iterate_nbio_poll(void) goto error; } - g_extern.nbio.handle = handle; - g_extern.nbio.cb = NULL; + g_extern.nbio.handle = handle; + g_extern.nbio.cb = NULL; + g_extern.nbio.is_blocking = false; + g_extern.nbio.is_finished = false; if (elem1[0] != '\0') {