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
spu: handle loop write vs loop flag race (bIgnoreLoop alternative)
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
spu.c
diff --git
a/plugins/dfsound/spu.c
b/plugins/dfsound/spu.c
index
8c6f7d2
..
06cc476
100644
(file)
--- a/
plugins/dfsound/spu.c
+++ b/
plugins/dfsound/spu.c
@@
-485,6
+485,7
@@
static int decode_block(int ch)
}
s_chan[ch].pCurr = start; // store values for next cycle
}
s_chan[ch].pCurr = start; // store values for next cycle
+ s_chan[ch].bJump = flags & 1;
return ret;
}
return ret;
}
@@
-503,13
+504,14
@@
static int skip_block(int ch)
}
if(flags & 4)
}
if(flags & 4)
- s_chan[ch].pLoop
=
start;
+ s_chan[ch].pLoop
=
start;
s_chan[ch].pCurr += 16;
if(flags & 1)
s_chan[ch].pCurr = s_chan[ch].pLoop;
s_chan[ch].pCurr += 16;
if(flags & 1)
s_chan[ch].pCurr = s_chan[ch].pLoop;
+ s_chan[ch].bJump = flags & 1;
return ret;
}
return ret;
}