notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d8f5b8
)
cdriso: add hack for cdda pausing
author
notaz
<notasas@gmail.com>
Sat, 25 Dec 2010 00:47:26 +0000
(
02:47
+0200)
committer
notaz
<notasas@gmail.com>
Sat, 25 Dec 2010 00:47:26 +0000
(
02:47
+0200)
libpcsxcore/cdriso.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/cdriso.c
b/libpcsxcore/cdriso.c
index
e68ecf3
..
091fd66
100644
(file)
--- 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;