https://github.com/notaz/pcsx_rearmed/pull/390#issuecomment-
3568471649
#include "../frontend/libretro-rthreads.h"
#endif
+#ifdef HAVE_LIBRETRO
#include "retro_timers.h"
+#endif
struct cached_buf {
u32 lba;
memcpy(acdrom.buf_cache[i].buf_sub, buf_sub, sizeof(buf_sub));
}
slock_unlock(acdrom.buf_lock);
+#ifdef HAVE_LIBRETRO
if (g_cd_handle)
retro_sleep(0); // why does the main thread stall without this?
+#endif
}
static int lbacache_get(unsigned int lba, void *buf, void *sub_buf)