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; +}