Jelajahi Sumber

Revert "Merge pull request #5179 from ReinUsesLisp/fs-path"

This reverts commit 4e94d0d53af2cdb7b03ef9de23cc29f3565df97a, reversing
changes made to 6d6115475b4edccdf1bb4e96ecc3d3b1be319e76.
Morph 5 tahun lalu
induk
melakukan
0195038c07
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/common/file_util.cpp

+ 1 - 1
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 = std::filesystem::path(ffd.cFileName).string();
+        const std::string virtual_name(Common::UTF16ToUTF8(ffd.cFileName));
 #else
     DIR* dirp = opendir(directory.c_str());
     if (!dirp)