diff --git a/Core/HLE/sceMp3.cpp b/Core/HLE/sceMp3.cpp index 6d19ec6e7d..280e918b86 100644 --- a/Core/HLE/sceMp3.cpp +++ b/Core/HLE/sceMp3.cpp @@ -223,6 +223,7 @@ int readFunc(void *opaque, uint8_t *buf, int buf_size) { if (ctx->bufferRead == ctx->mp3BufSize) ctx->bufferRead = 0; ctx->bufferAvailable -= to_read; + buf_size -= to_read; res += to_read; }