diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2021-11-22 03:20:17 +0100 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2021-12-25 20:21:32 +0100 |
| commit | e54657254a92d5cc9b2620abba347e437dcab6dc (patch) | |
| tree | 99b8fa17bf5019d11cf379b9903e9f0eec1fa09f /Source/Core/Common/NandPaths.cpp | |
| parent | 3e1511ce987c8492effe62906e8c1255372b48af (diff) | |
Core: Make format of D_WIIROOT_IDX consistent with the rest of the user directories.
Diffstat (limited to 'Source/Core/Common/NandPaths.cpp')
| -rw-r--r-- | Source/Core/Common/NandPaths.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/Common/NandPaths.cpp b/Source/Core/Common/NandPaths.cpp index 13dd1f2ce0..8fc33200d7 100644 --- a/Source/Core/Common/NandPaths.cpp +++ b/Source/Core/Common/NandPaths.cpp @@ -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) |
