mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Core: Make format of D_WIIROOT_IDX consistent with the rest of the user directories.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user