GameList: Fix title for ELFs

This commit is contained in:
Connor McLaughlin authored and refractionpcsx2 committed 2022-09-09 21:21:14 +01:00
1 parent 3d6f4629e9
commit 9f9f8e0e39
1 file changed
+1 -1
+1 -1
View File
@@ -172,7 +172,7 @@ bool GameList::GetElfListEntry(const std::string& path, GameList::Entry* entry)
const std::string display_name(FileSystem::GetDisplayNameFromPath(path));
entry->path = path;
entry->serial.clear();
entry->title = Path::StripExtension(display_name);
entry->title = Path::GetFileTitle(display_name);
entry->region = Region::Other;
entry->total_size = static_cast<u64>(file_size);
entry->type = EntryType::ELF;