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