From dd2993f12d054c2ed65c2f1c6615aaeae60f3fee Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Tue, 22 Sep 2026 08:48:42 +0000 Subject: [PATCH] Match RVL SDK FAFinfo wrapper --- configure.py | 2 +- libs/RVL_SDK/src/fa/api/FAFinfo.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 libs/RVL_SDK/src/fa/api/FAFinfo.c diff --git a/configure.py b/configure.py index a4000889..57011cf0 100644 --- a/configure.py +++ b/configure.py @@ -1832,7 +1832,7 @@ config.libs = [ Object(NonMatching, "fa/api/FADetach.c"), Object(NonMatching, "fa/api/FAErrnum.c"), Object(Matching, "fa/api/FAFclose.c"), - Object(NonMatching, "fa/api/FAFinfo.c"), + Object(Matching, "fa/api/FAFinfo.c"), Object(NonMatching, "fa/api/FAFopen.c"), Object(NonMatching, "fa/api/FAFormat.c"), Object(Matching, "fa/api/FAFread.c"), diff --git a/libs/RVL_SDK/src/fa/api/FAFinfo.c b/libs/RVL_SDK/src/fa/api/FAFinfo.c new file mode 100644 index 00000000..2afa30cb --- /dev/null +++ b/libs/RVL_SDK/src/fa/api/FAFinfo.c @@ -0,0 +1,8 @@ +#include + +extern s32 pfstub_finfo(FAFILE* stream, FAFileInfo* info); + +FAError FAFinfo(FAFILE* stream, FAFileInfo* info) { + s32 error = pfstub_finfo(stream, info); + return (-error | error) >> 31; +} -- 2.49.1