all repos — mgba @ 700ab0bd36c19379163980c351b811bcb5e3b81a

mGBA Game Boy Advance Emulator

GB Audio: Fix channel 2 not updating during frame 7
Vicki Pfau vi@endrift.com
Sat, 17 Jun 2017 09:29:57 -0700
commit

700ab0bd36c19379163980c351b811bcb5e3b81a

parent

3c64a2e432fa6a230ef2055f461e09d8357fea36

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gb/audio.csrc/gb/audio.c

@@ -555,7 +555,7 @@ _updateEnvelope(&audio->ch2.envelope);

if (audio->ch2.envelope.dead == 2) { mTimingDeschedule(timing, &audio->ch2Event); } - _updateSquareSample(&audio->ch1); + _updateSquareSample(&audio->ch2); } }