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;