From 43e146a1d5c327d49fdacddb7a5a7e7f0307fab8 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Thu, 13 Jan 2022 12:06:02 -0800 Subject: [PATCH] GameList: Convert file extensions to lowercase This means that dol/elf files with upercase extensions (e.g. BOOT.DOL) are properly detected. --- Source/Core/UICommon/GameFile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index 8c7c59330f..d87fb9d168 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -387,6 +387,7 @@ std::string GameFile::GetExtension() const { std::string extension; SplitPath(m_file_path, nullptr, nullptr, &extension); + Common::ToLower(&extension); return extension; }