Skip to content

Commit

Permalink
GameList: Convert file extensions to lowercase
Browse files Browse the repository at this point in the history
This means that dol/elf files with upercase extensions (e.g. BOOT.DOL) are properly detected.
  • Loading branch information
Pokechu22 committed Jan 17, 2022
1 parent 4791b96 commit 97a3ed9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/UICommon/GameFile.cpp
Expand Up @@ -387,6 +387,7 @@ std::string GameFile::GetExtension() const
{
std::string extension;
SplitPath(m_file_path, nullptr, nullptr, &extension);
Common::ToLower(&extension);
return extension;
}

Expand Down

0 comments on commit 97a3ed9

Please sign in to comment.