From c71eb3227b05806b1d823c5f2e068f76b2bc004b Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 29 Feb 2020 09:46:21 +0800 Subject: [PATCH] [NPDM/ACID] Add support for field: MemoryRegion --- src/MetaProcess.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MetaProcess.cpp b/src/MetaProcess.cpp index 9a2a7ce..2594923 100644 --- a/src/MetaProcess.cpp +++ b/src/MetaProcess.cpp @@ -329,6 +329,7 @@ void MetaProcess::displayAciDescHdr(const nn::hac::AccessControlInfoDesc& acid) std::cout << " " << nn::hac::AccessControlInfoUtil::getAcidFlagAsString(acid.getFlagList()[i]) << " (" << std::dec << (uint32_t)acid.getFlagList()[i] << ")" << std::endl; } } + std::cout << " Memory Region: " << nn::hac::AccessControlInfoUtil::getMemoryRegionAsString(acid.getMemoryRegion()) << " (" << std::dec << (uint32_t)acid.getMemoryRegion() << ")" << std::endl; std::cout << " ProgramID Restriction" << std::endl; std::cout << " Min: 0x" << std::hex << std::setw(16) << std::setfill('0') << acid.getProgramIdRestrict().min << std::endl; std::cout << " Max: 0x" << std::hex << std::setw(16) << std::setfill('0') << acid.getProgramIdRestrict().max << std::endl;