Fix ability to make audio buffers as big as they initially were

This commit is contained in:
Jeffrey Pfau 2014-07-22 02:33:45 -07:00
parent d1eda4250d
commit 2ce9806de5
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ void GBAAudioDeinit(struct GBAAudio* audio) {
} }
void GBAAudioResizeBuffer(struct GBAAudio* audio, size_t samples) { void GBAAudioResizeBuffer(struct GBAAudio* audio, size_t samples) {
if (samples >= GBA_AUDIO_SAMPLES) { if (samples > GBA_AUDIO_SAMPLES) {
return; return;
} }