mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 14:28:34 +00:00
IOS/ES: Add support for V1Ticket
This commit is contained in:
parent
d3718b1b81
commit
2fd9852ca8
8 changed files with 109 additions and 52 deletions
|
@ -41,6 +41,12 @@ std::string GetTicketFileName(u64 title_id, std::optional<FromWhichRoot> from)
|
|||
static_cast<u32>(title_id >> 32), static_cast<u32>(title_id));
|
||||
}
|
||||
|
||||
std::string GetV1TicketFileName(u64 title_id, std::optional<FromWhichRoot> from)
|
||||
{
|
||||
return fmt::format("{}/ticket/{:08x}/{:08x}.tv1", RootUserPath(from),
|
||||
static_cast<u32>(title_id >> 32), static_cast<u32>(title_id));
|
||||
}
|
||||
|
||||
std::string GetTitlePath(u64 title_id, std::optional<FromWhichRoot> from)
|
||||
{
|
||||
return fmt::format("{}/title/{:08x}/{:08x}", RootUserPath(from), static_cast<u32>(title_id >> 32),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue