Check if directory still exists on startup

Closes #440
This commit is contained in:
Kurt
2021-01-23 14:58:36 -08:00
parent d3d01ac4e7
commit 6ce4f351d7

View File

@@ -186,9 +186,13 @@ private void OpenQuick(string path)
}
else // Directory
{
if (!Directory.Exists(path))
return;
// Check for ROMFS/EXEFS/EXHEADER
RomFSPath = ExeFSPath = null; // Reset
Config = null;
string[] folders = Directory.GetDirectories(path);
int count = folders.Length;