Preliminary fix to stop overloading logs

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
This commit is contained in:
Mahyar Koshkouei 2018-01-24 18:57:23 +00:00
parent 8c658229c1
commit 3642b31b8a
1 changed files with 4 additions and 1 deletions

View File

@ -295,7 +295,10 @@ static void context_reset(void)
*/ */
while(mpv_set_property(mpv, while(mpv_set_property(mpv,
"playback-time", MPV_FORMAT_INT64, &playback_time) < 0) "playback-time", MPV_FORMAT_INT64, &playback_time) < 0)
{} {
/* Garbage fix to overflowing log */
usleep(10);
}
log_cb(RETRO_LOG_INFO, "Context reset.\n"); log_cb(RETRO_LOG_INFO, "Context reset.\n");