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=ce879073e4f228deec8bec5db8a2ff640636c88f;hpb=38b8102cdfde55d7afa20bf95c7698d39407379b 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;