mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(Image) Add 'is_blocking_on_processing' and 'is_finished_with_processing'
variables to nbio_image_handle_t
This commit is contained in:
parent
06dcd7543f
commit
533f647fe0
2 changed files with 8 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue