Common: Cleanup AssetReader extension filter.

This commit is contained in:
Unknown W. Brackets committed 2021-05-09 17:57:07 -07:00
1 parent 74a652491c
commit 774b0e07e0
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ IdentifiedFileType Identify_File(FileLoader *fileLoader) {
return IdentifiedFileType::ERROR_IDENTIFYING;
}
std::string extension = "." + File::GetFileExtension(fileLoader->GetPath());
std::string extension = File::GetFileExtension(fileLoader->GetPath());
if (extension == ".iso") {
// may be a psx iso, they have 2352 byte sectors. You never know what some people try to open
if ((fileLoader->FileSize() % 2352) == 0) {