Same as one in wut devoptab
This commit is contained in:
SuperDude88 2022-07-29 21:51:06 -04:00 committed by GitHub
parent 9541e29c4b
commit 3473d1832c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,7 @@ ssize_t __fsa_read(struct _reent *r, void *fd, char *ptr, size_t len) {
memcpy(ptr, alignedBuffer, status);
}
file->offset += status;
bytesRead += status;
ptr += status;
@ -74,4 +75,4 @@ ssize_t __fsa_read(struct _reent *r, void *fd, char *ptr, size_t len) {
}
return bytesRead;
}
}