1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

SingleAllocator typo fix

This commit is contained in:
Brian Fiete 2022-09-07 15:36:16 -07:00
parent 266b351f72
commit 17dc755ee7

View file

@ -82,7 +82,7 @@ namespace System
mType = type;
do
{
if (size > size)
if (size > mSize)
break;
void* usePtr = (void*)(int)Math.Align((int)mPtr, align);
if ((uint8*)usePtr + size > (uint8*)mPtr + mSize)