From 59a3bfc3b2e0943cd5780e91fee758b537d0f1e5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 08:55:13 +0000 Subject: [PATCH 1/2] docs: update progress [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd8ef1ed..b17b12ea 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,9 @@ Progress | Decompiled | Matched | Linked | Data | |:---:|:---:|:---:|:---:| -| 94.06% | 82.26% | 57.94% | 89.35% | +| 94.06% | 82.26% | 58.17% | 89.35% | -units 770/1027 complete, functions 11927/12563 matched. +units 776/1027 complete, functions 11927/12563 matched. decompiled = code with a C/C++ implementation (objdiff fuzzy), matched = byte-exact code, linked = code actually linked into the DOL, data = byte-exact data -- 2.49.1 From e8dfb9b04a2f1860b1239f3bbe802b76a28cf54f Mon Sep 17 00:00:00 2001 From: devin Date: Wed, 30 Sep 2026 08:55:40 +0000 Subject: [PATCH 2/2] nwc24: link NWC24System (objdiff 100%) Co-Authored-By: wch --- configure.py | 2 +- libs/RevoEX/include/private/nwc24.h | 1 + libs/RevoEX/include/private/nwc24/NWC24MBox.h | 2 ++ libs/RevoEX/src/nwc24/NWC24MBoxCtrl.c | 2 +- libs/RevoEX/src/nwc24/NWC24System.c | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.py b/configure.py index 471dba50..cfb13575 100644 --- a/configure.py +++ b/configure.py @@ -1091,7 +1091,7 @@ config.libs = [ Object(Matching, "nwc24/NWC24Ipc.c"), Object(Equivalent, "nwc24/NWC24Download.c"), Object(Matching, "nwc24/NWC24CHJump.c"), - Object(NonMatching, "nwc24/NWC24System.c"), + Object(Matching, "nwc24/NWC24System.c"), ] ), RevoEXLib("so", [ diff --git a/libs/RevoEX/include/private/nwc24.h b/libs/RevoEX/include/private/nwc24.h index f6a1df47..2374444b 100644 --- a/libs/RevoEX/include/private/nwc24.h +++ b/libs/RevoEX/include/private/nwc24.h @@ -28,5 +28,6 @@ #include NWC24Err NWC24iPrepareShutdown(); +BOOL NWC24Shutdown(BOOL final, u32 event); #endif // REVOLUTION_NWC24_H diff --git a/libs/RevoEX/include/private/nwc24/NWC24MBox.h b/libs/RevoEX/include/private/nwc24/NWC24MBox.h index 3e40510e..262330be 100644 --- a/libs/RevoEX/include/private/nwc24/NWC24MBox.h +++ b/libs/RevoEX/include/private/nwc24/NWC24MBox.h @@ -11,6 +11,8 @@ extern "C" { NWC24Err NWC24iOpenMBox(); +NWC24Err NWC24iMBoxSetLastUIDL(u32 ctrlId, const char* uidl); + #ifdef __cplusplus } #endif diff --git a/libs/RevoEX/src/nwc24/NWC24MBoxCtrl.c b/libs/RevoEX/src/nwc24/NWC24MBoxCtrl.c index fe063c06..2553d636 100644 --- a/libs/RevoEX/src/nwc24/NWC24MBoxCtrl.c +++ b/libs/RevoEX/src/nwc24/NWC24MBoxCtrl.c @@ -592,7 +592,7 @@ NWC24Err NWC24iMBoxCheck(NWC24MBoxType type, u32 size) { return NWC24_OK; } -NWC24Err NWC24iMBoxSetLastUIDL(NWC24MBoxType type, const char* uidl) { +NWC24Err NWC24iMBoxSetLastUIDL(u32 type, const char* uidl) { MBCHeader* header; NWC24Err err = GetCachedMBCHeader(type, &header); if (err != NWC24_OK) diff --git a/libs/RevoEX/src/nwc24/NWC24System.c b/libs/RevoEX/src/nwc24/NWC24System.c index a8451981..810af500 100644 --- a/libs/RevoEX/src/nwc24/NWC24System.c +++ b/libs/RevoEX/src/nwc24/NWC24System.c @@ -8,7 +8,7 @@ static s32 nwc24ShtFd = -1; static s32 nwc24ShtRetryRest = 0; static OSShutdownFunctionInfo ShutdownFuncInfo; BOOL NWC24Shutdown(BOOL final, u32 event); -NWC24Err NWC24iMBoxSetLastUIDL(NWC24MBoxType type, const char* uidl); +NWC24Err NWC24iMBoxSetLastUIDL(u32 type, const char* uidl); NWC24Err NWC24EnableLedNotification(BOOL enable) { u8 led = 0; -- 2.49.1