mirror of https://github.com/mgba-emu/mgba.git
GB Audio: Fix initial sweep state
This commit is contained in:
parent
83397d5618
commit
4880a1e041
1
CHANGES
1
CHANGES
|
@ -1,5 +1,6 @@
|
|||
0.8.4: (Future)
|
||||
Emulation fixes:
|
||||
- GB Audio: Fix initial sweep state
|
||||
- GBA Video: Invalidate map cache when modifying BGCNT (fixes mgba.io/i/1846)
|
||||
Other fixes:
|
||||
- 3DS: Redo video sync to be more precise
|
||||
|
|
|
@ -117,7 +117,7 @@ void GBAudioReset(struct GBAudio* audio) {
|
|||
if (audio->style == GB_AUDIO_GBA) {
|
||||
mTimingSchedule(audio->timing, &audio->frameEvent, 0);
|
||||
}
|
||||
audio->ch1 = (struct GBAudioSquareChannel) { .envelope = { .dead = 2 } };
|
||||
audio->ch1 = (struct GBAudioSquareChannel) { .sweep = { .time = 8 }, .envelope = { .dead = 2 } };
|
||||
audio->ch2 = (struct GBAudioSquareChannel) { .envelope = { .dead = 2 } };
|
||||
audio->ch3 = (struct GBAudioWaveChannel) { .bank = 0 };
|
||||
audio->ch4 = (struct GBAudioNoiseChannel) { .nSamples = 0 };
|
||||
|
|
Loading…
Reference in New Issue