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; }