GB Audio: Fix channel 3 reset value

This commit is contained in:
Vicki Pfau 2018-09-21 14:13:54 -07:00
parent 4ecc4b5a0d
commit 9703210938
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ Bugfixes:
- FFmpeg: Fix encoding audio/video queue issues
- GB Serialize: Fix IRQ pending/EI pending confusion
- GB MBC: Improve multicart detection heuristic (fixes mgba.io/i/1177)
- GB Audio: Fix channel 3 reset value
Misc:
- GBA Timer: Use global cycles for timers
- GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)

View File

@ -331,6 +331,7 @@ void GBAudioWriteNR34(struct GBAudio* audio, uint8_t value) {
}
}
audio->ch3.window = 0;
audio->ch3.sample = 0;
}
mTimingDeschedule(audio->timing, &audio->ch3Fade);
mTimingDeschedule(audio->timing, &audio->ch3Event);