mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 03:29:11 +00:00
DiscIO: Implement functions to lookup tickets
These two functions load either a signed ticket or a raw ticket from the emulated NAND. The ticket signature skip is refactored out of the ticket writing in order to be usable by the raw ticket reading function.
This commit is contained in:
parent
2ed352698f
commit
650a1fdb1f
2 changed files with 70 additions and 26 deletions
|
@ -22,7 +22,9 @@ namespace DiscIO
|
|||
{
|
||||
enum class Region;
|
||||
|
||||
bool AddTicket(const std::vector<u8>& ticket);
|
||||
bool AddTicket(const std::vector<u8>& signed_ticket);
|
||||
std::vector<u8> FindSignedTicket(u64 title_id);
|
||||
std::vector<u8> FindTicket(u64 title_id);
|
||||
|
||||
class CNANDContentData
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue