diff options
| author | Léo Lam <leo@leolam.fr> | 2022-11-18 00:25:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-18 00:25:47 +0100 |
| commit | f1c977415925b0dfc13bb3e333c2e23927af6561 (patch) | |
| tree | ba2be3f96aa2d3a450d9b7440a02c37dd4b9b602 /Source/Core/Common/NandPaths.cpp | |
| parent | 0fec70733b50124f00a61091a80ef5493deb6ec3 (diff) | |
| parent | 2fd9852ca89e4f07f6231ec3ddab5656f2b7856c (diff) | |
Merge pull request #11240 from noahpistilli/es_v1_ticket
IOS/ES: Add support for V1Ticket
Diffstat (limited to 'Source/Core/Common/NandPaths.cpp')
| -rw-r--r-- | Source/Core/Common/NandPaths.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/Common/NandPaths.cpp b/Source/Core/Common/NandPaths.cpp index 8fc33200d7..00f5eb235a 100644 --- a/Source/Core/Common/NandPaths.cpp +++ b/Source/Core/Common/NandPaths.cpp @@ -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), |
