From a9f635e09579bd7494cfd34e0d664fba8b0c8a9e Mon Sep 17 00:00:00 2001 From: Reiko Asakura Date: Sat, 5 Sep 2020 16:56:36 -0400 Subject: Add ScePafStdc function prototypes --- include/user/paf.h | 3 +++ nids/360/ScePaf.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/include/user/paf.h b/include/user/paf.h index b742a9b..2cf7444 100644 --- a/include/user/paf.h +++ b/include/user/paf.h @@ -1,6 +1,7 @@ #ifndef _PSP2_PAF_H_ #define _PSP2_PAF_H_ +#include #include #include #include @@ -51,6 +52,8 @@ char *sce_paf_strrchr(const char *str, int character); /* __attribute__((__format__(__wprintf__, 3, 4))) */ int sce_paf_swprintf(wchar_t *buffer, size_t bufsz, const wchar_t *format, ...); +int sce_paf_vswprintf(wchar_t *buffer, size_t bufsz, const wchar_t *format, va_list vlist); + wint_t sce_paf_towlower(wint_t wc); wchar_t *sce_paf_wcscat(wchar_t *dest, const wchar_t *src); diff --git a/nids/360/ScePaf.yml b/nids/360/ScePaf.yml index 6b01c3a..4f27a94 100644 --- a/nids/360/ScePaf.yml +++ b/nids/360/ScePaf.yml @@ -117,7 +117,10 @@ modules: sce_paf_toupper: 0x761184A5 sce_paf_towlower: 0xC8C2CDAC sce_paf_vsnprintf: 0x51C66C6E + sce_paf_vsnprintf_internal: 0xAE0F3820 sce_paf_vsprintf: 0x3079B56B + sce_paf_vswprintf: 0xFA5C2193 + sce_paf_vswprintf_internal: 0xAFB23563 sce_paf_wcscasecmp: 0x92A125F6 sce_paf_wcscat: 0xDDDDD6E0 sce_paf_wcschr: 0x13833CAE -- cgit v1.2.3