notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gpu_neon: some hack to enhanced mode
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
spu.c
diff --git
a/plugins/dfsound/spu.c
b/plugins/dfsound/spu.c
index
038f946
..
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;
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)
pos += (28 - s_chan->iSBPos) << 16;
while (pos < end)
@@
-1482,6
+1484,7
@@
long CALLBACK SPUinit(void)
{
int i;
{
int i;
+ memset(&spu, 0, sizeof(spu));
spu.spuMemC = calloc(1, 512 * 1024);
InitADSR();
spu.spuMemC = calloc(1, 512 * 1024);
InitADSR();