diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-09 22:52:36 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-09 22:52:36 +0100 |
commit | bab9cae71f5cd5a0078853e64bdf1d1f8af1fc30 (patch) | |
tree | 727c431f6ee60371ca403376c917ed25f6c52aa7 /src/common | |
parent | Merge pull request #5176 from Morph1984/fix-createfile (diff) | |
download | yuzu-bab9cae71f5cd5a0078853e64bdf1d1f8af1fc30.tar yuzu-bab9cae71f5cd5a0078853e64bdf1d1f8af1fc30.tar.gz yuzu-bab9cae71f5cd5a0078853e64bdf1d1f8af1fc30.tar.bz2 yuzu-bab9cae71f5cd5a0078853e64bdf1d1f8af1fc30.tar.lz yuzu-bab9cae71f5cd5a0078853e64bdf1d1f8af1fc30.tar.xz yuzu-bab9cae71f5cd5a0078853e64bdf1d1f8af1fc30.tar.zst yuzu-bab9cae71f5cd5a0078853e64bdf1d1f8af1fc30.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 7752c0421..a286b9341 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -239,7 +239,7 @@ bool ForeachDirectoryEntry(u64* num_entries_out, const std::string& directory, } // windows loop do { - const std::string virtual_name(Common::UTF16ToUTF8(ffd.cFileName)); + const std::string virtual_name = std::filesystem::path(ffd.cFileName).string(); #else DIR* dirp = opendir(directory.c_str()); if (!dirp) |