mirror of
https://github.com/wiiu-env/libmocha.git
synced 2024-11-17 00:49:24 +01:00
Test fix
Same as one in wut devoptab
This commit is contained in:
parent
9541e29c4b
commit
3473d1832c
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user