diff --git a/Core/HLE/sceUsbMic.cpp b/Core/HLE/sceUsbMic.cpp index e867d59c4e..0626f9f4d2 100644 --- a/Core/HLE/sceUsbMic.cpp +++ b/Core/HLE/sceUsbMic.cpp @@ -232,7 +232,7 @@ void QueueBuf::resize(u32 newSize) { u8 *oldbuf = buf_; buf_ = new u8[newSize]; - pop(buf_, availableSize); + pop(buf_, std::min(availableSize, newSize)); available = availableSize; end = availableSize; capacity = newSize;