From d33f4a5b8606926d498c8d5f7a2472b92e0ec3e9 Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 29 Jan 2015 17:31:07 -0800 Subject: [PATCH] File Count Loading Fix --- pk3DS/Main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pk3DS/Main.cs b/pk3DS/Main.cs index bb68d58..1f8421b 100644 --- a/pk3DS/Main.cs +++ b/pk3DS/Main.cs @@ -63,7 +63,7 @@ private void openQuick(string path) // Check for ROMFS/EXEFS string[] folders = Directory.GetDirectories(path); int count = folders.Length; - if (count != 2 && count != 0) return; // Only want exefs & romfs (can have exefs there too, it's not a folder) + if (count != 2 && count != 1) return; // Only want exefs & romfs (can have exheader there too, it's not a folder) { // first file should be 'exe' if (new FileInfo(folders[0]).Name.ToLower().Contains("exe") && Directory.Exists(folders[0]))