mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-02 17:45:42 -04:00
GameList: Use region from exe
This commit is contained in:
parent
b62f31fd96
commit
41a9231a87
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user