1
0
Fork 1
forked from suyu/suyu

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

This reverts commit 4e94d0d53a, reversing
changes made to 6d6115475b.
This commit is contained in:
Morph 2020-12-11 20:21:46 -05:00
parent ac3ec5ed13
commit 0195038c07

View file

@ -239,7 +239,7 @@ bool ForeachDirectoryEntry(u64* num_entries_out, const std::string& directory,
} }
// windows loop // windows loop
do { do {
const std::string virtual_name = std::filesystem::path(ffd.cFileName).string(); const std::string virtual_name(Common::UTF16ToUTF8(ffd.cFileName));
#else #else
DIR* dirp = opendir(directory.c_str()); DIR* dirp = opendir(directory.c_str());
if (!dirp) if (!dirp)