[*] Fix regressed bytebuffer scaling alg

This commit is contained in:
Reece Wilson 2023-12-01 07:15:20 +00:00
parent 049de14090
commit cde973ba90

View File

@ -216,7 +216,7 @@ namespace Aurora::Memory
return true;
}
auto newLength = AuMax(length, (this->allocSize / 4) * 3);
auto newLength = AuMax(length, AuPageRoundUp(this->allocSize + (this->allocSize / 3), 64ull));
if (auto pNext = ZRealloc(this->base, newLength))
{