[*] update ResetPositions
This commit is contained in:
parent
e4e3e70be2
commit
6317a5631d
@ -281,7 +281,14 @@ namespace Aurora::Memory
|
|||||||
this->flagReadError = 0;
|
this->flagReadError = 0;
|
||||||
this->flagWriteError = 0;
|
this->flagWriteError = 0;
|
||||||
this->readPtr = base;
|
this->readPtr = base;
|
||||||
this->writePtr = base;
|
if (this->flagCircular)
|
||||||
|
{
|
||||||
|
this->writePtr = base;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this->writePtr = this->base + length;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// utils: Iterator
|
// utils: Iterator
|
||||||
|
Loading…
Reference in New Issue
Block a user