Saveload: Enable upstream mode SlAutolength

Use non-upstream implementation for SlCopyBytes
This commit is contained in:
Jonathan G Rennison
2024-02-19 18:44:25 +00:00
parent 8a85055c68
commit 4097fc4e33
2 changed files with 27 additions and 6 deletions

View File

@@ -931,6 +931,16 @@ static void SlCopyBytes(void *ptr, size_t length)
}
}
void SlCopyBytesRead(void *p, size_t length)
{
_sl.reader->CopyBytes((byte *)p, length);
}
void SlCopyBytesWrite(void *p, size_t length)
{
_sl.dumper->CopyBytes((byte *)p, length);
}
/** Get the length of the current object */
size_t SlGetFieldLength()
{