all repos — mgba @ 830e6dbda6391681f4079a0f6494550bf1052d4b

mGBA Game Boy Advance Emulator

Write back to GBAThread.audioBuffers if not previously initialized
Jeffrey Pfau jeffrey@endrift.com
Fri, 17 Oct 2014 23:41:03 -0700
commit

830e6dbda6391681f4079a0f6494550bf1052d4b

parent

0867325b96480243b05c7ff3b11a819a52185b03

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

jump to
M src/gba/gba-thread.csrc/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) {