From fd9d72fa8c8def324202a132a98131e60a46df5a Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Tue, 22 Sep 2026 08:30:07 +0000 Subject: [PATCH] Match RVL SDK feof wrapper --- configure.py | 2 +- libs/RVL_SDK/src/fa/pf_feof.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 libs/RVL_SDK/src/fa/pf_feof.c diff --git a/configure.py b/configure.py index 4bef11af..99e8ba42 100644 --- a/configure.py +++ b/configure.py @@ -1728,7 +1728,7 @@ config.libs = [ Object(NonMatching, "fa/pf_fchdir.c"), Object(Matching, "fa/pf_fclose.c"), Object(NonMatching, "fa/pf_fconcat.c"), - Object(NonMatching, "fa/pf_feof.c"), + Object(Matching, "fa/pf_feof.c"), Object(NonMatching, "fa/pf_ferror.c"), Object(NonMatching, "fa/pf_finfo.c"), Object(NonMatching, "fa/pf_flock.c"), diff --git a/libs/RVL_SDK/src/fa/pf_feof.c b/libs/RVL_SDK/src/fa/pf_feof.c new file mode 100644 index 00000000..44893c7d --- /dev/null +++ b/libs/RVL_SDK/src/fa/pf_feof.c @@ -0,0 +1,10 @@ +#include + +extern s32 PFFILE_feof(FAFILE* stream); +extern s32 PFAPI_convertReturnValue4feof(s32 error); + +FAError pf2_feof(FAFILE* stream) { + s32 error = PFFILE_feof(stream); + error = PFAPI_convertReturnValue4feof(error); + return error; +} -- 2.49.1