GameList: Use region from exe

This commit is contained in:
Connor McLaughlin 2021-01-24 14:06:35 +10:00
parent b62f31fd96
commit 41a9231a87

View file

@ -98,7 +98,7 @@ bool GameList::GetExeListEntry(const char* path, GameListEntry* entry)
// no way to detect region... // no way to detect region...
entry->path = path; entry->path = path;
entry->region = DiscRegion::Other; entry->region = BIOS::GetPSExeDiscRegion(header);
entry->total_size = ZeroExtend64(file_size); entry->total_size = ZeroExtend64(file_size);
entry->last_modified_time = ffd.ModificationTime.AsUnixTimestamp(); entry->last_modified_time = ffd.ModificationTime.AsUnixTimestamp();
entry->type = GameListEntryType::PSExe; entry->type = GameListEntryType::PSExe;