diff options
| author | Sketch <75850871+SketchMaster2001@users.noreply.github.com> | 2022-10-31 21:02:19 -0400 |
|---|---|---|
| committer | Sketch <75850871+SketchMaster2001@users.noreply.github.com> | 2022-11-17 17:54:06 -0500 |
| commit | 2fd9852ca89e4f07f6231ec3ddab5656f2b7856c (patch) | |
| tree | eae4514ea2e067a32876f23920d0e41f55205f47 /Source/Core/Common/NandPaths.cpp | |
| parent | d3718b1b81e64db540005f3ced6a0edfde76f411 (diff) | |
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), |
