mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Set frame_count back to 0 when cleaning up
This commit is contained in:
parent
f528fb07bb
commit
92c993ffb3
@ -271,6 +271,7 @@ static int rarch_main_iterate_image_parse_free(nbio_handle_t *nbio)
|
||||
|
||||
rpng_nbio_load_image_free(nbio->image.handle);
|
||||
nbio->image.handle = NULL;
|
||||
nbio->image.frame_count = 0;
|
||||
|
||||
msg_queue_clear(nbio->image.msg_queue);
|
||||
|
||||
@ -408,6 +409,7 @@ static int rarch_main_iterate_nbio_parse_free(nbio_handle_t *nbio)
|
||||
nbio->handle = NULL;
|
||||
nbio->is_blocking = false;
|
||||
nbio->is_finished = false;
|
||||
nbio->frame_count = 0;
|
||||
|
||||
msg_queue_clear(nbio->msg_queue);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user