[*] update ResetPositions
This commit is contained in:
parent
e4e3e70be2
commit
6317a5631d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user