mirror of https://github.com/mgba-emu/mgba.git
GBA Audio: Restore code that got lost during refactor
This commit is contained in:
parent
96ca86ed90
commit
b8ed859c21
|
@ -45,6 +45,8 @@ void GBAAudioInit(struct GBAAudio* audio, size_t samples) {
|
||||||
void GBAAudioReset(struct GBAAudio* audio) {
|
void GBAAudioReset(struct GBAAudio* audio) {
|
||||||
GBAudioReset(&audio->psg);
|
GBAudioReset(&audio->psg);
|
||||||
audio->nextEvent = 0;
|
audio->nextEvent = 0;
|
||||||
|
audio->chA.dmaSource = 1;
|
||||||
|
audio->chB.dmaSource = 2;
|
||||||
audio->chA.sample = 0;
|
audio->chA.sample = 0;
|
||||||
audio->chB.sample = 0;
|
audio->chB.sample = 0;
|
||||||
audio->eventDiff = 0;
|
audio->eventDiff = 0;
|
||||||
|
|
Loading…
Reference in New Issue