mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 10:45:28 +00:00
Fix uninitialisation bug in MiscFlagsHandler
This commit is contained in:
parent
4cfcf6bae9
commit
c5c71873b9
|
@ -52,7 +52,7 @@ void nx::MiscFlagsHandler::exportKernelCapabilityList(fnd::List<KernelCapability
|
|||
return;
|
||||
|
||||
// convert list to word flags
|
||||
u32 flag;
|
||||
u32 flag = 0;
|
||||
for (size_t i = 0; i < mFlags.getSize(); i++)
|
||||
{
|
||||
flag |= BIT(mFlags[i]);
|
||||
|
|
Loading…
Reference in a new issue