[libhac] Fix bug related to previous changes to fnd::List.

This commit is contained in:
jakcron 2018-11-05 14:53:23 +08:00
parent cd29ed80e6
commit 8f9694a769

View file

@ -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();