mirror of https://github.com/mgba-emu/mgba.git
Fix ability to make audio buffers as big as they initially were
This commit is contained in:
parent
d1eda4250d
commit
2ce9806de5
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue