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:
parent
6e5f4125e3
commit
43e146a1d5
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue