Write back to GBAThread.audioBuffers if not previously initialized
Jeffrey Pfau jeffrey@endrift.com
Fri, 17 Oct 2014 23:41:03 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -126,6 +126,8 @@ #endif
if (threadContext->audioBuffers) { GBAAudioResizeBuffer(&gba.audio, threadContext->audioBuffers); + } else { + threadContext->audioBuffers = GBA_AUDIO_SAMPLES; } if (threadContext->renderer) {