aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpcsxcore/cdriso.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c
index e68ecf3..091fd66 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;