From 123f85c01f42efe98c573866a8046180651089d5 Mon Sep 17 00:00:00 2001 From: jakcron Date: Fri, 29 Jun 2018 00:20:08 +0800 Subject: [PATCH] [nx] Fix bug in MemoryMappingHandler --- lib/libnx/source/MemoryMappingHandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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