From 8f9694a76956f69ff1e7be0ddc239a1523629811 Mon Sep 17 00:00:00 2001 From: jakcron Date: Mon, 5 Nov 2018 14:53:23 +0800 Subject: [PATCH] [libhac] Fix bug related to previous changes to fnd::List. --- lib/libhac/source/InteruptHandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libhac/source/InteruptHandler.cpp b/lib/libhac/source/InteruptHandler.cpp index 421ee19..ca74daf 100644 --- a/lib/libhac/source/InteruptHandler.cpp +++ b/lib/libhac/source/InteruptHandler.cpp @@ -26,12 +26,11 @@ void nn::hac::InteruptHandler::importKernelCapabilityList(const fnd::List interupts; for (size_t i = 0; i < caps.size(); i++) { - interupts[i].setKernelCapability(caps[i]); + interupts.addElement(InteruptEntry(caps[i])); } mInterupts.clear();