summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-12-09 22:52:36 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-12-09 22:52:36 +0100
commitbab9cae71f5cd5a0078853e64bdf1d1f8af1fc30 (patch)
tree727c431f6ee60371ca403376c917ed25f6c52aa7 /src/common
parentMerge pull request #5176 from Morph1984/fix-createfile (diff)
downloadyuzu-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.cpp2
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)