mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-23 09:09:45 +00:00
NSF: Fixed init problem with VRC6 (NSF-only) that could cause distorted audio
This commit is contained in:
parent
f550b83025
commit
8c27322d85
@ -9,8 +9,8 @@ private:
|
||||
Vrc6Pulse _pulse1;
|
||||
Vrc6Pulse _pulse2;
|
||||
Vrc6Saw _saw;
|
||||
bool _haltAudio;
|
||||
int32_t _lastOutput;
|
||||
bool _haltAudio = false;
|
||||
int32_t _lastOutput = 0;
|
||||
|
||||
protected:
|
||||
void StreamState(bool saving) override
|
||||
@ -38,6 +38,7 @@ protected:
|
||||
public:
|
||||
Vrc6Audio(shared_ptr<Console> console) : BaseExpansionAudio(console)
|
||||
{
|
||||
Reset();
|
||||
}
|
||||
|
||||
void Reset()
|
||||
|
Loading…
Reference in New Issue
Block a user