mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +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
|
@ -19,7 +19,9 @@ namespace Common
|
|||
std::string RootUserPath(FromWhichRoot from)
|
||||
{
|
||||
int idx = from == FROM_CONFIGURED_ROOT ? D_WIIROOT_IDX : D_SESSION_WIIROOT_IDX;
|
||||
return File::GetUserPath(idx);
|
||||
std::string dir = File::GetUserPath(idx);
|
||||
dir.pop_back(); // remove trailing path separator
|
||||
return dir;
|
||||
}
|
||||
|
||||
static std::string RootUserPath(std::optional<FromWhichRoot> from)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue