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
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)