NSF: Fixed init problem with VRC6 (NSF-only) that could cause distorted audio
This commit is contained in:
parent
f550b83025
commit
8c27322d85
1 changed files with 3 additions and 2 deletions
|
@ -9,8 +9,8 @@ private:
|
||||||
Vrc6Pulse _pulse1;
|
Vrc6Pulse _pulse1;
|
||||||
Vrc6Pulse _pulse2;
|
Vrc6Pulse _pulse2;
|
||||||
Vrc6Saw _saw;
|
Vrc6Saw _saw;
|
||||||
bool _haltAudio;
|
bool _haltAudio = false;
|
||||||
int32_t _lastOutput;
|
int32_t _lastOutput = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void StreamState(bool saving) override
|
void StreamState(bool saving) override
|
||||||
|
@ -38,6 +38,7 @@ protected:
|
||||||
public:
|
public:
|
||||||
Vrc6Audio(shared_ptr<Console> console) : BaseExpansionAudio(console)
|
Vrc6Audio(shared_ptr<Console> console) : BaseExpansionAudio(console)
|
||||||
{
|
{
|
||||||
|
Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Reset()
|
void Reset()
|
||||||
|
|
Loading…
Add table
Reference in a new issue