From 2ce9806de5335fe08d82d0040bed1063802b475d Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 22 Jul 2014 02:33:45 -0700 Subject: [PATCH] Fix ability to make audio buffers as big as they initially were --- src/gba/gba-audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/gba-audio.c b/src/gba/gba-audio.c index 641b95550..f1bd249bd 100644 --- a/src/gba/gba-audio.c +++ b/src/gba/gba-audio.c @@ -71,7 +71,7 @@ void GBAAudioDeinit(struct GBAAudio* audio) { } void GBAAudioResizeBuffer(struct GBAAudio* audio, size_t samples) { - if (samples >= GBA_AUDIO_SAMPLES) { + if (samples > GBA_AUDIO_SAMPLES) { return; }