From 620d0609d6ea769c760759cf8705774815d119af Mon Sep 17 00:00:00 2001 From: jakcron Date: Fri, 22 Oct 2021 04:11:36 +0800 Subject: [PATCH] Show ticket property mask even when empty with verbose output. --- src/EsTikProcess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EsTikProcess.cpp b/src/EsTikProcess.cpp index e0b1ed9..db6b2ca 100644 --- a/src/EsTikProcess.cpp +++ b/src/EsTikProcess.cpp @@ -132,7 +132,7 @@ void nstool::EsTikProcess::displayTicket() } fmt::print(" Version: {:s} (v{:d})\n", getTitleVersionStr(body.getTicketVersion()), body.getTicketVersion()); fmt::print(" License Type: {:s}\n", getLicenseTypeStr(body.getLicenseType())); - if (body.getPropertyFlags().size() > 0) + if (body.getPropertyFlags().size() > 0 || mCliOutputMode.show_extended_info) { nn::es::sTicketBody_v2* raw_body = (nn::es::sTicketBody_v2*)body.getBytes().data(); fmt::print(" PropertyMask: 0x{:04x}\n", ((tc::bn::le16*)&raw_body->property_mask)->unwrap());