Reimplement __wups_getreent to be per plugin and (hopefully) future proof

This commit is contained in:
Maschell
2026-04-01 11:31:19 +02:00
parent 2c76941e93
commit fa90de3802
2 changed files with 150 additions and 50 deletions

View File

@@ -4,8 +4,18 @@
#include <coreinit/debug.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
extern const char wups_meta_info_dump[];
#ifdef __cplusplus
}
#endif
#ifdef DEBUG
#define WUPS_DEBUG_REPORT(fmt, ...) OSReport(fmt, ##__VA_ARGS__)
#define WUPS_DEBUG_REPORT(fmt, ...) OSReport("[%s] " fmt, wups_meta_info_dump, ##__VA_ARGS__)
#else
#define WUPS_DEBUG_REPORT(fmt, ...)
#endif
#endif
#define WUPS_DEBUG_WARN(fmt, ...) OSReport("[%s] " fmt, wups_meta_info_dump, ##__VA_ARGS__)