mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +00:00
Show ticket property mask even when empty with verbose output.
This commit is contained in:
parent
48afdbbad5
commit
620d0609d6
1 changed files with 1 additions and 1 deletions
|
@ -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<uint16_t>*)&raw_body->property_mask)->unwrap());
|
||||
|
|
Loading…
Reference in a new issue