From: notaz Date: Mon, 14 Aug 2023 21:16:22 +0000 (+0300) Subject: spu: clear on init X-Git-Tag: r24l~240 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bb93b77555a2202d6399cd3a1e21ba32d4514c1;p=pcsx_rearmed.git spu: clear on init Otherwise some residual stuff seems to carry over between games, especially in hle mode. --- diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index 038f946e..2cb0587a 100644 --- 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();