X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fdfsound%2Fspu.c;h=2cb0587a811fe27f0285d31da887e220d3a7e59a;hb=9bb93b77555a2202d6399cd3a1e21ba32d4514c1;hp=038f946eee2ec286700e2aff1ccf62e0bcdfa7d0;hpb=e81f182da0bed2ff8ea00abb8d0a5b0a3ae59fbb;p=pcsx_rearmed.git 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();