diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/citra_qt/game_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp index 28e01d81a..222c82b1c 100644 --- a/src/citra_qt/game_list.cpp +++ b/src/citra_qt/game_list.cpp | |||
| @@ -137,7 +137,7 @@ const QStringList GameList::supported_file_extensions = {"3ds", "3dsx", "elf", " | |||
| 137 | 137 | ||
| 138 | static bool HasSupportedFileExtension(const std::string& file_name) { | 138 | static bool HasSupportedFileExtension(const std::string& file_name) { |
| 139 | QFileInfo file = QFileInfo(file_name.c_str()); | 139 | QFileInfo file = QFileInfo(file_name.c_str()); |
| 140 | return GameList::supported_file_extensions.contains(file.completeSuffix(), Qt::CaseInsensitive); | 140 | return GameList::supported_file_extensions.contains(file.suffix(), Qt::CaseInsensitive); |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsigned int recursion) { | 143 | void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsigned int recursion) { |