MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / twlSaveDataPath

Method twlSaveDataPath

3ds/source/archive.cpp:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113std::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
123ArchiveHandle SaveDataSource::open(Result& res) const
124{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected