Core: Make format of D_WIIROOT_IDX consistent with the rest of the user directories.

This commit is contained in:
Admiral H. Curtiss
2021-11-22 03:20:17 +01:00
parent 3e1511ce98
commit e54657254a
6 changed files with 15 additions and 12 deletions

View File

@ -34,10 +34,9 @@ void NANDImporter::ImportNANDBin(const std::string& path_to_bin,
if (!ReadNANDBin(path_to_bin, get_otp_dump_path))
return;
const std::string nand_root = File::GetUserPath(D_WIIROOT_IDX);
std::string nand_root = File::GetUserPath(D_WIIROOT_IDX);
nand_root.pop_back(); // remove trailing path separator
m_nand_root_length = nand_root.length();
if (nand_root.back() == '/')
m_nand_root_length++;
FindSuperblock();
ProcessEntry(0, nand_root);