[*] im a smort boi
This commit is contained in:
parent
5b19341186
commit
114976a71d
@ -317,7 +317,7 @@ namespace Aurora::Memory
|
||||
flagCircular(circular), flagExpandable(expandable), flagReadError(0), flagWriteError(0)
|
||||
{
|
||||
this->scaleSize = kBufferInitialPower;
|
||||
if (!length)
|
||||
if (!(this->length = readView.length))
|
||||
{
|
||||
Reset();
|
||||
return;
|
||||
@ -329,8 +329,7 @@ namespace Aurora::Memory
|
||||
Reset();
|
||||
return;
|
||||
}
|
||||
this->length = length;
|
||||
this->allocSize = length;
|
||||
this->allocSize = this->length;
|
||||
this->readPtr = this->base;
|
||||
this->writePtr = this->readPtr + this->length;
|
||||
AuMemcpy(this->base, readView.Begin(), length);
|
||||
|
Loading…
Reference in New Issue
Block a user