mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Detect ISO files from file contents if extensions are wrong.
On older Android versions (that still support Android Storage Framework), filenames are not always preserved in Content URIs, they can look like .../msf:342 and things like that. So identify a few more file types by content if filename identification fails.
This commit is contained in:
@@ -83,6 +83,7 @@ bool GameInfo::Delete() {
|
||||
case IdentifiedFileType::PSP_ELF:
|
||||
case IdentifiedFileType::UNKNOWN_BIN:
|
||||
case IdentifiedFileType::UNKNOWN_ELF:
|
||||
case IdentifiedFileType::UNKNOWN_ISO:
|
||||
case IdentifiedFileType::ARCHIVE_RAR:
|
||||
case IdentifiedFileType::ARCHIVE_ZIP:
|
||||
case IdentifiedFileType::ARCHIVE_7Z:
|
||||
|
||||
Reference in New Issue
Block a user