mirror of https://github.com/mgba-emu/mgba.git
GB Audio: Only reset channel 3 sample in DMG mode
This commit is contained in:
parent
f98da2ab3f
commit
68fc62073d
1
CHANGES
1
CHANGES
|
@ -25,6 +25,7 @@ Emulation fixes:
|
|||
- GB I/O: Filter IE top bits properly (fixes mgba.io/i/1329)
|
||||
- GBA Video: Fix wrapped sprite mosaic clamping (fixes mgba.io/i/1432)
|
||||
- GBA Memory: Fix STM to VRAM (fixes mgba.io/i/1430)
|
||||
- GB Audio: Only reset channel 3 sample in DMG mode
|
||||
Other fixes:
|
||||
- Qt: Fix some Qt display driver race conditions
|
||||
- Core: Improved lockstep driver reliability (Le Hoang Quyen)
|
||||
|
|
|
@ -329,7 +329,9 @@ void GBAudioWriteNR34(struct GBAudio* audio, uint8_t value) {
|
|||
}
|
||||
}
|
||||
audio->ch3.window = 0;
|
||||
audio->ch3.sample = 0;
|
||||
if (audio->style == GB_AUDIO_DMG) {
|
||||
audio->ch3.sample = 0;
|
||||
}
|
||||
}
|
||||
mTimingDeschedule(audio->timing, &audio->ch3Fade);
|
||||
mTimingDeschedule(audio->timing, &audio->ch3Event);
|
||||
|
|
Loading…
Reference in New Issue