Update KipProcess to resolve ProgramType to a string.

This commit is contained in:
Jack 2020-03-17 19:12:44 +08:00
parent 273ba3d14e
commit c7336da339

View file

@ -241,7 +241,7 @@ void KipProcess::displayKernelCap(const nn::hac::KernelCapabilityControl& kern)
}
if (kern.getMiscParams().isSet())
{
std::cout << " ProgramType: " << std::dec << (uint32_t)kern.getMiscParams().getProgramType() << std::endl;
std::cout << " ProgramType: " << nn::hac::KernelCapabilityUtil::getProgramTypeAsString(kern.getMiscParams().getProgramType()) << " (" << std::dec << (uint32_t)kern.getMiscParams().getProgramType() << ")" << std::endl;
}
if (kern.getKernelVersion().isSet())
{