Initialize previous uninitialzed audio channel members
Jeffrey Pfau jeffrey@endrift.com
Fri, 29 Aug 2014 02:39:01 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-audio.c
→
src/gba/gba-audio.c
@@ -48,6 +48,8 @@ audio->ch3.control.endTime = 0;
audio->ch3.sample = 0; audio->ch4.sample = 0; audio->ch4.envelope.nextStep = INT_MAX; + audio->chA.dmaSource = 0; + audio->chB.dmaSource = 0; audio->eventDiff = 0; audio->nextSample = 0; audio->sampleRate = 0x8000;