mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Add logging for file/image transfer
This commit is contained in:
parent
9cf5044430
commit
f528fb07bb
@ -283,6 +283,8 @@ static int rarch_main_iterate_image_parse(nbio_handle_t *nbio)
|
|||||||
if (nbio->image.handle && nbio->image.cb)
|
if (nbio->image.handle && nbio->image.cb)
|
||||||
nbio->image.cb(nbio, len);
|
nbio->image.cb(nbio, len);
|
||||||
|
|
||||||
|
RARCH_LOG("Image transfer took %d frames.\n", (unsigned)nbio->image.frame_count);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -422,6 +424,8 @@ static int rarch_main_iterate_nbio_parse(nbio_handle_t *nbio)
|
|||||||
if (nbio->cb)
|
if (nbio->cb)
|
||||||
nbio->cb(nbio, len);
|
nbio->cb(nbio, len);
|
||||||
|
|
||||||
|
RARCH_LOG("File transfer took %d frames.\n", (unsigned)nbio->frame_count);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user