mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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:
@ -387,6 +387,7 @@ std::string GameFile::GetExtension() const
|
||||
{
|
||||
std::string extension;
|
||||
SplitPath(m_file_path, nullptr, nullptr, &extension);
|
||||
Common::ToLower(&extension);
|
||||
return extension;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user