mirror of
https://github.com/jakcron/nstool
synced 2024-12-24 21:51:14 +00:00
Fix uninitialisation bug in MiscFlagsHandler
This commit is contained in:
parent
4cfcf6bae9
commit
c5c71873b9
1 changed files with 1 additions and 1 deletions
|
@ -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