From 300717df6c477cdf23f2086b6c146ad2884cb485 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Tue, 2 Feb 2010 04:50:51 +0000 Subject: [PATCH] SPU2-X: - Don't the whole core on a core reset. Fixes sound in Silver Surfer, Silent Hill Shattered Memories and prolly others. (SH becomes playable with this. ;) Still needs GSdx software though. ) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2548 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/spu2-x/src/spu2sys.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/spu2-x/src/spu2sys.cpp b/plugins/spu2-x/src/spu2sys.cpp index 4af01e0a94..a20528e8e2 100644 --- a/plugins/spu2-x/src/spu2sys.cpp +++ b/plugins/spu2-x/src/spu2sys.cpp @@ -109,7 +109,10 @@ V_Core::~V_Core() throw() void V_Core::Reset( int index ) { - memset( this, 0, sizeof(V_Core) ); + // Clearing the whole core seems to delete some important stuff as well. + // Not doing it fixes SH Shattered Memories and Silver Surfer audio. + // Shouldn't have any negative side effects. + //memset( this, 0, sizeof(V_Core) ); const int c = Index = index;