summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/file_sys/patch_manager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp
index 1002b688c..c47ff863e 100644
--- a/src/core/file_sys/patch_manager.cpp
+++ b/src/core/file_sys/patch_manager.cpp
@@ -56,8 +56,7 @@ std::shared_ptr<VfsDirectory> FindSubdirectoryCaseless(const std::shared_ptr<Vfs
56#else 56#else
57 const auto subdirs = dir->GetSubdirectories(); 57 const auto subdirs = dir->GetSubdirectories();
58 for (const auto& subdir : subdirs) { 58 for (const auto& subdir : subdirs) {
59 std::string dir_name = subdir->GetName(); 59 std::string dir_name = Common::ToLower(subdir->GetName());
60 dir_name = Common::ToLower(dir_name);
61 if (dir_name == name) { 60 if (dir_name == name) {
62 return subdir; 61 return subdir;
63 } 62 }