Archives: Change the folder layout of some archives.
This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW
This commit is contained in:
parent
031237e52c
commit
3bc9f5509b
6 changed files with 27 additions and 24 deletions
|
@ -19,10 +19,9 @@ namespace FileSys {
|
|||
static std::string GetExtSaveDataPath(const std::string& mount_point, const Path& path) {
|
||||
std::vector<u8> vec_data = path.AsBinary();
|
||||
const u32* data = reinterpret_cast<const u32*>(vec_data.data());
|
||||
u32 media_type = data[0];
|
||||
u32 save_low = data[1];
|
||||
u32 save_high = data[2];
|
||||
return Common::StringFromFormat("%s%s/%08X/%08X/", mount_point.c_str(), media_type == 0 ? "nand" : "sdmc", save_high, save_low);
|
||||
return Common::StringFromFormat("%s%08X/%08X/", mount_point.c_str(), save_high, save_low);
|
||||
}
|
||||
|
||||
Archive_ExtSaveData::Archive_ExtSaveData(const std::string& mount_point)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue