diff --git a/src/SPU.cpp b/src/SPU.cpp index 56f83f6a..3c4982b5 100644 --- a/src/SPU.cpp +++ b/src/SPU.cpp @@ -269,6 +269,7 @@ void Channel::Start() Pos = -3; NoiseVal = 0x7FFF; + PrevSample = 0; CurSample = 0; FIFOReadPos = 0; diff --git a/src/SPU.h b/src/SPU.h index bbc48e55..12da1686 100644 --- a/src/SPU.h +++ b/src/SPU.h @@ -73,6 +73,7 @@ public: bool KeyOn; u32 Timer; s32 Pos; + s16 PrevSample; s16 CurSample; u16 NoiseVal;