mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-24 03:19:17 -05: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