diff --git a/Source/APU/N163.cpp b/Source/APU/N163.cpp index c76c36d3b..972f8e162 100644 --- a/Source/APU/N163.cpp +++ b/Source/APU/N163.cpp @@ -54,6 +54,7 @@ void CN163::Reset() m_N163.Reset(); m_N163.SetMixing(m_bUseLinearMixing); + m_iTime = 0; m_SynthN163.clear(); m_BlipN163.clear(); } diff --git a/Source/APU/mesen/Namco163Audio.h b/Source/APU/mesen/Namco163Audio.h index 984432544..5f531f54e 100644 --- a/Source/APU/mesen/Namco163Audio.h +++ b/Source/APU/mesen/Namco163Audio.h @@ -166,6 +166,19 @@ class Namco163Audio _updateCounter += clocks; } + Namco163Audio() + : _channelOutput{} + , _internalRam{} + { + _ramPosition = 0; + _autoIncrement = false; + _updateCounter = 0; + _currentChannel = 7; + _lastOutput = 0; + _disableSound = false; + _mixLinear = false; + } + void Reset() { *this = {}; }