[*] update ResetPositions

This commit is contained in:
Reece Wilson 2023-04-29 07:46:35 +01:00
parent e4e3e70be2
commit 6317a5631d

View File

@ -281,8 +281,15 @@ namespace Aurora::Memory
this->flagReadError = 0;
this->flagWriteError = 0;
this->readPtr = base;
if (this->flagCircular)
{
this->writePtr = base;
}
else
{
this->writePtr = this->base + length;
}
}
// utils: Iterator