summaryrefslogtreecommitdiff
path: root/Source/Core/Common/NandPaths.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2023-06-13 13:22:56 -0700
committerDentomologist <dentomologist@gmail.com>2023-06-13 13:25:22 -0700
commit7ff7c9e84fa485503c39be22a3562cebb4d3d42a (patch)
tree4575a1a72acd378f64d8021851681211df245d0e /Source/Core/Common/NandPaths.cpp
parent89e7e7d6693f8da827f60c9e08b7ec509740a9bc (diff)
Common: Convert FromWhichRoot to enum class
Diffstat (limited to 'Source/Core/Common/NandPaths.cpp')
-rw-r--r--Source/Core/Common/NandPaths.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/NandPaths.cpp b/Source/Core/Common/NandPaths.cpp
index 9b08cd263d..a69ccfe9b5 100644
--- a/Source/Core/Common/NandPaths.cpp
+++ b/Source/Core/Common/NandPaths.cpp
@@ -18,7 +18,7 @@ namespace Common
{
std::string RootUserPath(FromWhichRoot from)
{
- int idx = from == FROM_CONFIGURED_ROOT ? D_WIIROOT_IDX : D_SESSION_WIIROOT_IDX;
+ int idx = from == FromWhichRoot::Configured ? D_WIIROOT_IDX : D_SESSION_WIIROOT_IDX;
std::string dir = File::GetUserPath(idx);
dir.pop_back(); // remove trailing path separator
return dir;