diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-07-28 22:23:00 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-01 06:16:54 +0200 |
commit | 22342487e8fb851a9837db22408db56240aa6931 (patch) | |
tree | 65d8ec8cd180656e4ec6bb2ac5c928712f43122a /src/common | |
parent | Add missing string.h include (diff) | |
download | yuzu-22342487e8fb851a9837db22408db56240aa6931.tar yuzu-22342487e8fb851a9837db22408db56240aa6931.tar.gz yuzu-22342487e8fb851a9837db22408db56240aa6931.tar.bz2 yuzu-22342487e8fb851a9837db22408db56240aa6931.tar.lz yuzu-22342487e8fb851a9837db22408db56240aa6931.tar.xz yuzu-22342487e8fb851a9837db22408db56240aa6931.tar.zst yuzu-22342487e8fb851a9837db22408db56240aa6931.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/file_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 89004c3c0..a26702f54 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -739,7 +739,7 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) { std::string GetHactoolConfigurationPath() { #ifdef _WIN32 char path[MAX_PATH]; - if (SHGetFolderPathA(NULL, CSIDL_PROFILE, NULL, 0, path) != S_OK) + if (SHGetFolderPathA(nullptr, CSIDL_PROFILE, nullptr, 0, path) != S_OK) return ""; std::string local_path = Common::StringFromFixedZeroTerminatedBuffer(path, MAX_PATH); return local_path + "\\.switch"; |