mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 10:45:28 +00:00
[libhac] Stub unused entries in KIP KernelCapList.
This commit is contained in:
parent
5af7558a1b
commit
696cd481e3
|
@ -74,7 +74,11 @@ void nn::hac::KernelInitialProcessHeader::toBytes()
|
|||
throw fnd::Exception(kModuleName, "Too many kernel capabilities");
|
||||
}
|
||||
memcpy(hdr->capabilities, mKernelCapabilities.getBytes().data(), mKernelCapabilities.getBytes().size());
|
||||
//memset(hdr->capabilities + mKernelCapabilities.getBytes().size(), 0xff, kip::kKernCapabilitySize - mKernelCapabilities.getBytes().size());
|
||||
if (mKernelCapabilities.getBytes().size() < kip::kKernCapabilitySize)
|
||||
{
|
||||
|
||||
}
|
||||
memset(hdr->capabilities + mKernelCapabilities.getBytes().size(), 0xff, kip::kKernCapabilitySize - mKernelCapabilities.getBytes().size());
|
||||
|
||||
// flags
|
||||
for (size_t i = 0; i < mFlagList.size(); i++)
|
||||
|
|
Loading…
Reference in a new issue