Fix bug when allocating smaller than requested rewind buffer.
This commit is contained in:
parent
a47e69507f
commit
9bb4cc9917
|
@ -34,7 +34,7 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
else
|
||||
{
|
||||
_mAllocatedBuffer = _mBufferManage(null, ref capacity, true);
|
||||
_mAllocatedBuffer = _mBufferManage(null, ref _mCapacity, true);
|
||||
_mStream = new MemoryStream(_mAllocatedBuffer);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue