mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 21:49:30 +00:00
[libhac] Fix bug related to previous changes to fnd::List.
This commit is contained in:
parent
cd29ed80e6
commit
8f9694a769
1 changed files with 1 additions and 2 deletions
|
@ -26,12 +26,11 @@ void nn::hac::InteruptHandler::importKernelCapabilityList(const fnd::List<Kernel
|
||||||
{
|
{
|
||||||
if (caps.size() == 0)
|
if (caps.size() == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// convert to interupts
|
// convert to interupts
|
||||||
fnd::List<InteruptEntry> interupts;
|
fnd::List<InteruptEntry> interupts;
|
||||||
for (size_t i = 0; i < caps.size(); i++)
|
for (size_t i = 0; i < caps.size(); i++)
|
||||||
{
|
{
|
||||||
interupts[i].setKernelCapability(caps[i]);
|
interupts.addElement(InteruptEntry(caps[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
mInterupts.clear();
|
mInterupts.clear();
|
||||||
|
|
Loading…
Reference in a new issue