Live Data progress

This commit is contained in:
rusefillc 2022-01-06 12:21:43 -05:00
parent 57a9d96897
commit d4aa280176
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ void copyRange(uint8_t *destination, FragmentEntry *fragments, size_t dataOffset
while (dataLength > 0) {
int copyNowSize = minI(dataLength, fragments[fragmentIndex].size - dataOffset);
memcpy(destination + destinationIndex, fragments[fragmentIndex].data + dataOffset, copyNowSize);
memcpy(destination + destinationIndex, fragments[fragmentIndex + dataOffset].data, copyNowSize);
destinationIndex += copyNowSize;
dataOffset = 0;
dataLength -= copyNowSize;