Link nup_mem (clean subset) #372
@@ -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", [
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user