mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Core: Make format of D_WIIROOT_IDX consistent with the rest of the user directories.
This commit is contained in:
parent
3e1511ce98
commit
e54657254a
6 changed files with 15 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue