diff --git a/general.h b/general.h index 38498d787c..1337e2e679 100644 --- a/general.h +++ b/general.h @@ -405,7 +405,9 @@ typedef struct nbio_image_handle { struct texture_image ti; bool is_blocking; + bool is_blocking_on_processing; bool is_finished; + bool is_finished_with_processing; transfer_cb_t cb; struct rpng_t *handle; unsigned pos_increment; diff --git a/runloop_data.c b/runloop_data.c index 217f7a8cd8..58c5300637 100644 --- a/runloop_data.c +++ b/runloop_data.c @@ -191,10 +191,12 @@ static int cb_image_menu_wallpaper(void *data, size_t len) texture_image_free(&nbio->image.ti); - nbio->image.is_blocking = true; - nbio->image.is_finished = true; - nbio->is_blocking = true; - nbio->is_finished = true; + nbio->image.is_blocking = true; + nbio->image.is_blocking_on_processing = true; + nbio->image.is_finished = true; + nbio->image.is_finished_with_processing = false; + nbio->is_blocking = true; + nbio->is_finished = true; return 0; }