| 116 | } |
| 117 | |
| 118 | std::string TicketData::GetTitleKey() const { |
| 119 | std::stringstream strm; |
| 120 | strm << std::uppercase << std::setfill('0') << std::hex; |
| 121 | for(u32 i = 0; i < 0x10; i++) { |
| 122 | strm << static_cast<u32>(this->title_key_block[i]); |
| 123 | } |
| 124 | return strm.str(); |
| 125 | } |
| 126 | |
| 127 | Result RemoveTicket(const Ticket &tik) { |
| 128 | const auto rc = esDeleteTicket(&tik.rights_id); |
no outgoing calls
no test coverage detected