summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <lat9nq@virginia.edu>2020-05-28 19:33:50 +0200
committerlat9nq <lat9nq@virginia.edu>2020-05-28 19:33:50 +0200
commitf57cbd9f247ac43dbc9e599cc8523c9b8d93ad48 (patch)
treeb0349aa4a7c1aa4e0d2bd5f6c33201bb86502b73
parentAddress requested changes (diff)
downloadyuzu-f57cbd9f247ac43dbc9e599cc8523c9b8d93ad48.tar
yuzu-f57cbd9f247ac43dbc9e599cc8523c9b8d93ad48.tar.gz
yuzu-f57cbd9f247ac43dbc9e599cc8523c9b8d93ad48.tar.bz2
yuzu-f57cbd9f247ac43dbc9e599cc8523c9b8d93ad48.tar.lz
yuzu-f57cbd9f247ac43dbc9e599cc8523c9b8d93ad48.tar.xz
yuzu-f57cbd9f247ac43dbc9e599cc8523c9b8d93ad48.tar.zst
yuzu-f57cbd9f247ac43dbc9e599cc8523c9b8d93ad48.zip
-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
#else
const auto subdirs = dir->GetSubdirectories();
for (const auto& subdir : subdirs) {
- std::string dir_name = subdir->GetName();
- dir_name = Common::ToLower(dir_name);
+ std::string dir_name = Common::ToLower(subdir->GetName());
if (dir_name == name) {
return subdir;
}