From ff1b9cb510bc616c27a98fb770d9275d910505f5 Mon Sep 17 00:00:00 2001 From: Willi Ye Date: Sat, 21 Nov 2020 13:33:43 +0100 Subject: [PATCH] Show nsps first --- app/src/main/java/emu/skyline/MainViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/emu/skyline/MainViewModel.kt b/app/src/main/java/emu/skyline/MainViewModel.kt index f10b5fc8..d5e4ba5f 100644 --- a/app/src/main/java/emu/skyline/MainViewModel.kt +++ b/app/src/main/java/emu/skyline/MainViewModel.kt @@ -86,11 +86,11 @@ class MainViewModel : ViewModel() { val searchDocument = DocumentFile.fromTreeUri(context, searchLocation)!! val romElements = ArrayList() + addEntries(context, "nsp", RomFormat.NSP, searchDocument, romElements) + addEntries(context, "xci", RomFormat.XCI, searchDocument, romElements) addEntries(context, "nro", RomFormat.NRO, searchDocument, romElements) addEntries(context, "nso", RomFormat.NSO, searchDocument, romElements) addEntries(context, "nca", RomFormat.NCA, searchDocument, romElements) - addEntries(context, "xci", RomFormat.XCI, searchDocument, romElements) - addEntries(context, "nsp", RomFormat.NSP, searchDocument, romElements) try { romElements.serialize(romsFile)