Link nup_mem (clean subset) #372

Merged
devin-ai-integration[bot] merged 1 commits from agent/w0929/nup-mem-clean into main 2026-09-30 12:48:14 +00:00
2 changed files with 2 additions and 3 deletions

View File

@@ -1870,7 +1870,7 @@ config.libs = [
RVLSDKLib("nup", [
Object(NonMatching, "nup/nup.cpp"),
Object(NonMatching, "nup/nup_nhttp.cpp"),
Object(NonMatching, "nup/nup_mem.cpp"),
Object(Matching, "nup/nup_mem.cpp"),
]
),
RVLSDKLib("scutil", [

View File

@@ -41,8 +41,7 @@ int __nupRegisterAllocator(MEMAllocator* allocator) {
} else {
if (((MEMHeapHandle)allocator->heap)->magic != 0x45585048) {
result = -5011;
}
if (((MEMHeapHandle)allocator->heap)->magic == 0x45585048) {
} else {
__mem = allocator;
}
}