X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fcdriso.c;h=091fd66801b0cb819fb6624fd68e736490a3a040;hp=e68ecf3dd9362725d4ffbaae40ceec4ad2e7fb97;hb=d4a1e87d6a8f5d5de071344fd0718ca32a520850;hpb=0d8f5b891a7b56e94e15930ea2a8748b1033cd5f 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;