From d4a1e87d6a8f5d5de071344fd0718ca32a520850 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 25 Dec 2010 02:47:26 +0200 Subject: [PATCH] cdriso: add hack for cdda pausing --- libpcsxcore/cdriso.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index e68ecf3d..091fd668 100644 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -159,6 +159,12 @@ static void *playthread(void *param) #else usleep(d * 1000); #endif + // HACK: stop feeding data while emu is paused + extern int stop; + if (stop) { + usleep(100000); + continue; + } t = GetTickCount() + CDDA_FRAMETIME; -- 2.39.5