Compare commits

...

1 Commits

Author SHA1 Message Date
devin
e8dfb9b04a nwc24: link NWC24System (objdiff 100%)
Co-Authored-By: wch <usernamecole7@gmail.com>
2026-09-30 08:55:40 +00:00
5 changed files with 6 additions and 3 deletions

View File

@@ -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", [

View File

@@ -28,5 +28,6 @@
#include <private/nwc24/NWC24MsgObj.h>
NWC24Err NWC24iPrepareShutdown();
BOOL NWC24Shutdown(BOOL final, u32 event);
#endif // REVOLUTION_NWC24_H

View File

@@ -11,6 +11,8 @@ extern "C" {
NWC24Err NWC24iOpenMBox();
NWC24Err NWC24iMBoxSetLastUIDL(u32 ctrlId, const char* uidl);
#ifdef __cplusplus
}
#endif

View File

@@ -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)

View File

@@ -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;