diff options
Diffstat (limited to 'Source/Core/Common/NandPaths.cpp')
| -rw-r--r-- | Source/Core/Common/NandPaths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/NandPaths.cpp b/Source/Core/Common/NandPaths.cpp index 00f5eb235a..9b08cd263d 100644 --- a/Source/Core/Common/NandPaths.cpp +++ b/Source/Core/Common/NandPaths.cpp @@ -76,7 +76,7 @@ std::string GetMiiDatabasePath(std::optional<FromWhichRoot> from) bool IsTitlePath(const std::string& path, std::optional<FromWhichRoot> from, u64* title_id) { std::string expected_prefix = RootUserPath(from) + "/title/"; - if (!StringBeginsWith(path, expected_prefix)) + if (!path.starts_with(expected_prefix)) { return false; } |
