Merge branch 'misc-fixes3' of https://github.com/shadps4-emu/shadPS4 into misc-fixes3

This commit is contained in:
IndecisiveTurtle 2024-07-15 15:05:29 +03:00
commit 10a7110c7d
8 changed files with 19 additions and 17 deletions

View file

@ -79,7 +79,7 @@ std::filesystem::path MntPoints::GetHostPath(const std::string& guest_directory)
bool found_match = false;
for (const auto& path : std::filesystem::directory_iterator(current_path)) {
const auto candidate = path.path().filename();
const auto filename = Common::ToLower(candidate);
const auto filename = Common::ToLower(candidate.string());
// Check if a filename matches in case insensitive manner.
if (filename != part_low) {
continue;