diff options
| author | bunnei <bunneidev@gmail.com> | 2018-07-21 18:30:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-21 18:30:04 -0700 |
| commit | 9533875eeb729d20ce2f92e9363a55c5894d262a (patch) | |
| tree | fb594e919f10e136dfcb523a71b1dd6a3a30bb53 /src/core/hle/service/ns/pl_u.cpp | |
| parent | d95a1a3742274fddc32fbc9c27a793c026422a2e (diff) | |
| parent | d66b43dadfac1e9324fee48e97361e2f858f8af5 (diff) | |
Merge pull request #760 from lioncash/path
file_util: Use an enum class for GetUserPath()
Diffstat (limited to 'src/core/hle/service/ns/pl_u.cpp')
| -rw-r--r-- | src/core/hle/service/ns/pl_u.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp index 691b1d106..bad27894a 100644 --- a/src/core/hle/service/ns/pl_u.cpp +++ b/src/core/hle/service/ns/pl_u.cpp @@ -42,7 +42,7 @@ PL_U::PL_U() : ServiceFramework("pl:u") { RegisterHandlers(functions); // Attempt to load shared font data from disk - const std::string filepath{FileUtil::GetUserPath(D_SYSDATA_IDX) + SHARED_FONT}; + const std::string filepath{FileUtil::GetUserPath(FileUtil::UserPath::SysDataDir) + SHARED_FONT}; FileUtil::CreateFullPath(filepath); // Create path if not already created FileUtil::IOFile file(filepath, "rb"); |
