diff --git a/lib/libnx/source/MemoryMappingHandler.cpp b/lib/libnx/source/MemoryMappingHandler.cpp index 07cbe7d..7ec44a6 100644 --- a/lib/libnx/source/MemoryMappingHandler.cpp +++ b/lib/libnx/source/MemoryMappingHandler.cpp @@ -33,7 +33,7 @@ void nx::MemoryMappingHandler::importKernelCapabilityList(const fnd::List entries; for (size_t i = 0; i < caps.size(); i++) { - entries[i].setKernelCapability(caps[i]); + entries.addElement(caps[i]); } mMemRange.clear(); @@ -43,7 +43,6 @@ void nx::MemoryMappingHandler::importKernelCapabilityList(const fnd::List