[*] Caught a bug in the circular path of aubytebuffer::RemainingBytes

This commit is contained in:
Reece Wilson 2022-06-08 19:30:08 +01:00
parent d02ce62d92
commit 0a4c0bacfc

View File

@ -171,7 +171,7 @@ namespace Aurora::Memory
{
if ((writePtr < readPtr) && (endAtRead))
{
return length - (readPtr - writePtr);
return readPtr - writePtr;
}
else
{