| 111 | } |
| 112 | |
| 113 | std::u16string Archive::twlSaveDataPath(u32 lowid, u32 highid) |
| 114 | { |
| 115 | // Normalize the high id to the install category (00030004 DSiWare, |
| 116 | // 00030005/00030015 system): TWLN stores titles under 000300xx even though |
| 117 | // AM reports them as 000480xx. |
| 118 | char path[64]; |
| 119 | snprintf(path, sizeof(path), "/title/%08lx/%08lx/data/", (highid & 0x00000FFF) | 0x00030000, lowid); |
| 120 | return StringUtils::UTF8toUTF16(path); |
| 121 | } |
| 122 | |
| 123 | ArchiveHandle SaveDataSource::open(Result& res) const |
| 124 | { |
nothing calls this directly
no outgoing calls
no test coverage detected