GameList: Convert file extensions to lowercase

This means that dol/elf files with upercase extensions (e.g. BOOT.DOL) are properly detected.
This commit is contained in:
Pokechu22 2022-01-13 12:06:02 -08:00
parent 6e5f4125e3
commit 43e146a1d5
1 changed files with 1 additions and 0 deletions

View File

@ -387,6 +387,7 @@ std::string GameFile::GetExtension() const
{ {
std::string extension; std::string extension;
SplitPath(m_file_path, nullptr, nullptr, &extension); SplitPath(m_file_path, nullptr, nullptr, &extension);
Common::ToLower(&extension);
return extension; return extension;
} }