summaryrefslogtreecommitdiff
path: root/src/common/fs/path_util.cpp
diff options
context:
space:
mode:
authorGravatar boludoz2023-10-15 20:57:06 -0300
committerGravatar boludoz2023-10-15 20:57:06 -0300
commit9ffa1801c75073afb851351ecdd1a8b40e33cc5c (patch)
treeabaf913d230182e94e47bc2d9ea8783fc4e56470 /src/common/fs/path_util.cpp
parentUnnecessary feature removed (diff)
downloadyuzu-9ffa1801c75073afb851351ecdd1a8b40e33cc5c.tar.gz
yuzu-9ffa1801c75073afb851351ecdd1a8b40e33cc5c.tar.xz
yuzu-9ffa1801c75073afb851351ecdd1a8b40e33cc5c.zip
Typing and formatting errors fixed.
Diffstat (limited to 'src/common/fs/path_util.cpp')
-rw-r--r--src/common/fs/path_util.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp
index bccf953e4..3d88fcf4f 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -260,9 +260,8 @@ fs::path GetExeDirectory() {
260 // the Windows library (Filesystem converts the strings literally). 260 // the Windows library (Filesystem converts the strings literally).
261 return fs::path{Common::UTF16ToUTF8(wideExePath)}.parent_path(); 261 return fs::path{Common::UTF16ToUTF8(wideExePath)}.parent_path();
262 } else { 262 } else {
263 LOG_ERROR(Common_Filesystem, 263 LOG_ERROR(Common_Filesystem, "Failed to get the path to the executable of the current "
264 "[GetExeDirectory] Failed to get the path to the executable of the current " 264 "process");
265 "process");
266 } 265 }
267 266
268 return fs::path{}; 267 return fs::path{};
@@ -279,8 +278,7 @@ fs::path GetAppDataRoamingDirectory() {
279 // the Windows library (Filesystem converts the strings literally). 278 // the Windows library (Filesystem converts the strings literally).
280 return fs::path{Common::UTF16ToUTF8(wideAppdataRoamingPath)}; 279 return fs::path{Common::UTF16ToUTF8(wideAppdataRoamingPath)};
281 } else { 280 } else {
282 LOG_ERROR(Common_Filesystem, 281 LOG_ERROR(Common_Filesystem, "Failed to get the path to the %APPDATA% directory");
283 "[GetAppDataRoamingDirectory] Failed to get the path to the %APPDATA% directory");
284 } 282 }
285 283
286 return fs::path{}; 284 return fs::path{};