all repos — mgba @ b8ed859c211ed40948c884139d06a3d0ecf213f8

mGBA Game Boy Advance Emulator

GBA Audio: Restore code that got lost during refactor
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Feb 2016 05:05:06 -0800
commit

b8ed859c211ed40948c884139d06a3d0ecf213f8

parent

96ca86ed9035da5a6c060a74c184e6c5cdeaac53

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

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

@@ -45,6 +45,8 @@

void GBAAudioReset(struct GBAAudio* audio) { GBAudioReset(&audio->psg); audio->nextEvent = 0; + audio->chA.dmaSource = 1; + audio->chB.dmaSource = 2; audio->chA.sample = 0; audio->chB.sample = 0; audio->eventDiff = 0;