diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 16:32:21 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 16:32:23 +0200 |
commit | abbf038191e834c47aba0d35c2468a159287f9ca (patch) | |
tree | 24f06594b1ca8b1fadc06e062a386be4a911d5a2 /src/core/hle | |
parent | filesystem: Remove pragma disabling global optimizations (diff) | |
download | yuzu-abbf038191e834c47aba0d35c2468a159287f9ca.tar yuzu-abbf038191e834c47aba0d35c2468a159287f9ca.tar.gz yuzu-abbf038191e834c47aba0d35c2468a159287f9ca.tar.bz2 yuzu-abbf038191e834c47aba0d35c2468a159287f9ca.tar.lz yuzu-abbf038191e834c47aba0d35c2468a159287f9ca.tar.xz yuzu-abbf038191e834c47aba0d35c2468a159287f9ca.tar.zst yuzu-abbf038191e834c47aba0d35c2468a159287f9ca.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/filesystem/filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp index 6d5ef2de4..a6b8386a7 100644 --- a/src/core/hle/service/filesystem/filesystem.cpp +++ b/src/core/hle/service/filesystem/filesystem.cpp @@ -23,7 +23,7 @@ constexpr u64 EMULATED_SD_REPORTED_SIZE = 32000000000; static FileSys::VirtualDir GetDirectoryRelativeWrapped(FileSys::VirtualDir base, const std::string& dir_name) { - if (dir_name == "." || dir_name == "" || dir_name == "/" || dir_name == "\\") + if (dir_name.empty() || dir_name == "." || dir_name == "/" || dir_name == "\\") return base; return base->GetDirectoryRelative(dir_name); |