Add logging for file/image transfer

This commit is contained in:
twinaphex 2015-02-26 01:46:08 +01:00
parent 9cf5044430
commit f528fb07bb

View File

@ -283,6 +283,8 @@ static int rarch_main_iterate_image_parse(nbio_handle_t *nbio)
if (nbio->image.handle && nbio->image.cb)
nbio->image.cb(nbio, len);
RARCH_LOG("Image transfer took %d frames.\n", (unsigned)nbio->image.frame_count);
return 0;
}
@ -422,6 +424,8 @@ static int rarch_main_iterate_nbio_parse(nbio_handle_t *nbio)
if (nbio->cb)
nbio->cb(nbio, len);
RARCH_LOG("File transfer took %d frames.\n", (unsigned)nbio->frame_count);
return 0;
}