all repos — mgba @ 2ce9806de5335fe08d82d0040bed1063802b475d

mGBA Game Boy Advance Emulator

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
commit

2ce9806de5335fe08d82d0040bed1063802b475d

parent

d1eda4250da99ec38e0e21d42a633667509a254f

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

jump to
M src/gba/gba-audio.csrc/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; }