Show nsps first

This commit is contained in:
Willi Ye 2020-11-21 13:33:43 +01:00 committed by ◱ Mark
parent b12b4df35b
commit ff1b9cb510

View File

@ -86,11 +86,11 @@ class MainViewModel : ViewModel() {
val searchDocument = DocumentFile.fromTreeUri(context, searchLocation)!! val searchDocument = DocumentFile.fromTreeUri(context, searchLocation)!!
val romElements = ArrayList<DataItem>() val romElements = ArrayList<DataItem>()
addEntries(context, "nsp", RomFormat.NSP, searchDocument, romElements)
addEntries(context, "xci", RomFormat.XCI, searchDocument, romElements)
addEntries(context, "nro", RomFormat.NRO, searchDocument, romElements) addEntries(context, "nro", RomFormat.NRO, searchDocument, romElements)
addEntries(context, "nso", RomFormat.NSO, searchDocument, romElements) addEntries(context, "nso", RomFormat.NSO, searchDocument, romElements)
addEntries(context, "nca", RomFormat.NCA, searchDocument, romElements) addEntries(context, "nca", RomFormat.NCA, searchDocument, romElements)
addEntries(context, "xci", RomFormat.XCI, searchDocument, romElements)
addEntries(context, "nsp", RomFormat.NSP, searchDocument, romElements)
try { try {
romElements.serialize(romsFile) romElements.serialize(romsFile)