diff --git a/lib/libhac/include/nn/hac/KernelCapabilityEntry.h b/lib/libhac/include/nn/hac/KernelCapabilityEntry.h index 1a5f3cc..7b39302 100644 --- a/lib/libhac/include/nn/hac/KernelCapabilityEntry.h +++ b/lib/libhac/include/nn/hac/KernelCapabilityEntry.h @@ -45,6 +45,7 @@ namespace hac break; } } + if (id == kc::KC_INVALID && cap == (uint32_t)0xffffffff) return id; } }; diff --git a/lib/libhac/include/nn/hac/define/kc.h b/lib/libhac/include/nn/hac/define/kc.h index 1bf2d73..4716a9f 100644 --- a/lib/libhac/include/nn/hac/define/kc.h +++ b/lib/libhac/include/nn/hac/define/kc.h @@ -20,7 +20,8 @@ namespace hac KC_MISC_PARAMS = 13, KC_KERNEL_VERSION = 14, KC_HANDLE_TABLE_SIZE = 15, - KC_MISC_FLAGS = 16 + KC_MISC_FLAGS = 16, + KC_STUB = 32 }; } }