diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-12-11 20:21:46 -0500 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-12-11 20:21:46 -0500 |
| commit | 4b2d4ac4127eb2d6b0820b0fe0de09b983259e71 (patch) | |
| tree | a828b067a933ef03d25faa8389008756ae977fb1 /src/common/file_util.cpp | |
| parent | 1992dbc3cfd050b6fce4c8b7e461cb60263b14a5 (diff) | |
Revert "Merge pull request #5179 from ReinUsesLisp/fs-path"
This reverts commit be3622e5503832367a9b22baa67c0f92cc7a98ab, reversing
changes made to 586d5a72e1e151b9767b93be2c4b8b636acdf00f.
Diffstat (limited to 'src/common/file_util.cpp')
| -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 a286b93412..7752c04213 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 = std::filesystem::path(ffd.cFileName).string(); + const std::string virtual_name(Common::UTF16ToUTF8(ffd.cFileName)); #else DIR* dirp = opendir(directory.c_str()); if (!dirp) |
