diff options
Diffstat (limited to 'Source/Core/DiscIO/FileSystemGCWii.cpp')
| -rw-r--r-- | Source/Core/DiscIO/FileSystemGCWii.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/FileSystemGCWii.cpp b/Source/Core/DiscIO/FileSystemGCWii.cpp index fd70776069..615a33888b 100644 --- a/Source/Core/DiscIO/FileSystemGCWii.cpp +++ b/Source/Core/DiscIO/FileSystemGCWii.cpp @@ -285,7 +285,7 @@ std::unique_ptr<FileInfo> FileSystemGCWii::FindFileInfo(const std::string& path, for (const FileInfo& child : file_info) { - if (child.GetName() == searching_for) + if (!strcasecmp(child.GetName().c_str(), searching_for.c_str())) { // A match is found. The rest of the path is passed on to finish the search. std::unique_ptr<FileInfo> result = FindFileInfo(rest_of_path, child); |
