[*] Caught a bug in the circular path of aubytebuffer::RemainingBytes
This commit is contained in:
parent
d02ce62d92
commit
0a4c0bacfc
@ -171,7 +171,7 @@ namespace Aurora::Memory
|
|||||||
{
|
{
|
||||||
if ((writePtr < readPtr) && (endAtRead))
|
if ((writePtr < readPtr) && (endAtRead))
|
||||||
{
|
{
|
||||||
return length - (readPtr - writePtr);
|
return readPtr - writePtr;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user