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:
4b22d95
)
spu: clear on init
author
notaz
<notasas@gmail.com>
Mon, 14 Aug 2023 21:16:22 +0000
(
00:16
+0300)
committer
notaz
<notasas@gmail.com>
Tue, 15 Aug 2023 22:02:38 +0000
(
01:02
+0300)
Otherwise some residual stuff seems to carry over between games,
especially in hle mode.
plugins/dfsound/spu.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/dfsound/spu.c
b/plugins/dfsound/spu.c
index
038f946
..
2cb0587
100644
(file)
--- a/
plugins/dfsound/spu.c
+++ b/
plugins/dfsound/spu.c
@@
-1482,6
+1482,7
@@
long CALLBACK SPUinit(void)
{
int i;
+ memset(&spu, 0, sizeof(spu));
spu.spuMemC = calloc(1, 512 * 1024);
InitADSR();