From f528fb07bb2ccc717a3245dcaee3cb2dd4f0b8b0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 26 Feb 2015 01:46:08 +0100 Subject: [PATCH] Add logging for file/image transfer --- runloop_data.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runloop_data.c b/runloop_data.c index cfb08d9763..54c56f2c7a 100644 --- a/runloop_data.c +++ b/runloop_data.c @@ -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; }