mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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