mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 21:49:30 +00:00
[hac] Fix bug where stubbed kernel cap u32s were not processed correctly
This commit is contained in:
parent
bac8fb57ff
commit
da00e5298c
2 changed files with 3 additions and 1 deletions
|
@ -45,6 +45,7 @@ namespace hac
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (id == kc::KC_INVALID && cap == (uint32_t)0xffffffff)
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,7 +20,8 @@ namespace hac
|
||||||
KC_MISC_PARAMS = 13,
|
KC_MISC_PARAMS = 13,
|
||||||
KC_KERNEL_VERSION = 14,
|
KC_KERNEL_VERSION = 14,
|
||||||
KC_HANDLE_TABLE_SIZE = 15,
|
KC_HANDLE_TABLE_SIZE = 15,
|
||||||
KC_MISC_FLAGS = 16
|
KC_MISC_FLAGS = 16,
|
||||||
|
KC_STUB = 32
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue