Match RVL SDK feof wrapper #192

Merged
coah80 merged 1 commits from agent/continue-0922/refill15-next5 into main 2026-09-22 08:31:56 +00:00
2 changed files with 11 additions and 1 deletions

View File

@@ -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"),

View File

@@ -0,0 +1,10 @@
#include <revolution/fa.h>
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;
}