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:
2bce517
)
spu: add forgotten prevflags checking
author
notaz
<notasas@gmail.com>
Wed, 16 Aug 2023 19:59:42 +0000
(22:59 +0300)
committer
notaz
<notasas@gmail.com>
Wed, 16 Aug 2023 19:59:42 +0000
(22:59 +0300)
forgot in
3113a160828f9353715e4b8cc1041d9c86162df2
plugins/dfsound/spu.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/dfsound/spu.c
b/plugins/dfsound/spu.c
index
2cb0587
..
4dc762f
100644
(file)
--- a/
plugins/dfsound/spu.c
+++ b/
plugins/dfsound/spu.c
@@
-493,6
+493,8
@@
static void scan_for_irq(int ch, unsigned int *upd_samples)
pos = s_chan->spos;
sinc = s_chan->sinc;
end = pos + *upd_samples * sinc;
+ if (s_chan->prevflags & 1) // 1: stop/loop
+ block = s_chan->pLoop;
pos += (28 - s_chan->iSBPos) << 16;
while (pos < end)