mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 18:55:29 +00:00
[libhac] Fix bug related to previous changes to fnd::List.
This commit is contained in:
parent
cd29ed80e6
commit
8f9694a769
|
@ -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