From 3473d1832cf6243a49decd3272ed1664e85f1f85 Mon Sep 17 00:00:00 2001 From: SuperDude88 <82904174+SuperDude88@users.noreply.github.com> Date: Fri, 29 Jul 2022 21:51:06 -0400 Subject: [PATCH] Test fix Same as one in wut devoptab --- source/devoptab/devoptab_fsa_read.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/devoptab/devoptab_fsa_read.cpp b/source/devoptab/devoptab_fsa_read.cpp index 0fb4ff5..a122c80 100644 --- a/source/devoptab/devoptab_fsa_read.cpp +++ b/source/devoptab/devoptab_fsa_read.cpp @@ -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; -} \ No newline at end of file +}