Fix ability to make audio buffers as big as they initially were
Jeffrey Pfau jeffrey@endrift.com
Tue, 22 Jul 2014 02:33:45 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/gba-audio.c
→
src/gba/gba-audio.c
@@ -71,7 +71,7 @@ CircleBufferDeinit(&audio->chB.fifo);
} void GBAAudioResizeBuffer(struct GBAAudio* audio, size_t samples) { - if (samples >= GBA_AUDIO_SAMPLES) { + if (samples > GBA_AUDIO_SAMPLES) { return; }