From 3642b31b8a06bfc1326544dfe4c2a70cc24c0ac4 Mon Sep 17 00:00:00 2001 From: Mahyar Koshkouei Date: Wed, 24 Jan 2018 18:57:23 +0000 Subject: [PATCH] Preliminary fix to stop overloading logs Signed-off-by: Mahyar Koshkouei --- mpv-libretro.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpv-libretro.c b/mpv-libretro.c index 7240d51..baf9183 100644 --- a/mpv-libretro.c +++ b/mpv-libretro.c @@ -295,7 +295,10 @@ static void context_reset(void) */ while(mpv_set_property(mpv, "playback-time", MPV_FORMAT_INT64, &playback_time) < 0) - {} + { + /* Garbage fix to overflowing log */ + usleep(10); + } log_cb(RETRO_LOG_INFO, "Context reset.\n");