mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 13:57:14 -05:00
File Count Loading Fix
This commit is contained in:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user