summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-07-28 16:23:00 -0400
committerGravatar Zach Hilman2018-08-01 00:16:54 -0400
commit22342487e8fb851a9837db22408db56240aa6931 (patch)
tree65d8ec8cd180656e4ec6bb2ac5c928712f43122a /src/common/file_util.cpp
parentAdd missing string.h include (diff)
downloadyuzu-22342487e8fb851a9837db22408db56240aa6931.tar.gz
yuzu-22342487e8fb851a9837db22408db56240aa6931.tar.xz
yuzu-22342487e8fb851a9837db22408db56240aa6931.zip
Extract mbedtls to cpp file
Diffstat (limited to 'src/common/file_util.cpp')
-rw-r--r--src/common/file_util.cpp2
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) {
739std::string GetHactoolConfigurationPath() { 739std::string GetHactoolConfigurationPath() {
740#ifdef _WIN32 740#ifdef _WIN32
741 char path[MAX_PATH]; 741 char path[MAX_PATH];
742 if (SHGetFolderPathA(NULL, CSIDL_PROFILE, NULL, 0, path) != S_OK) 742 if (SHGetFolderPathA(nullptr, CSIDL_PROFILE, nullptr, 0, path) != S_OK)
743 return ""; 743 return "";
744 std::string local_path = Common::StringFromFixedZeroTerminatedBuffer(path, MAX_PATH); 744 std::string local_path = Common::StringFromFixedZeroTerminatedBuffer(path, MAX_PATH);
745 return local_path + "\\.switch"; 745 return local_path + "\\.switch";