Skip to content

Commit

Permalink
Fix ROMs with dsi or ids extension not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelvcaetano committed Nov 11, 2023
1 parent 70b7086 commit 5d4e344
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ class Api24RomFileProcessorFactory(private val context: Context, private val uri
}

override fun getRomFileProcessorForFileExtension(extension: String): RomFileProcessor? {
return when (extension) {
"nds" -> NdsRomFileProcessor(context, uriHandler)
"zip" -> ZipRomFileProcessor(context, uriHandler, ndsRomCache)
"7z" -> SevenZRomFileProcessor(context, uriHandler, ndsRomCache)
else -> null
}
return prefixProcessorMap[extension]
}
}

0 comments on commit 5d4e344

Please sign in to comment.