Command Line: ROM path no longer needs to be the first parameter (regression fix)

This commit is contained in:
Sour 2018-04-04 18:47:05 -04:00
parent f4d03585f4
commit b54071c43d

View File

@ -129,7 +129,9 @@ namespace Mesen.GUI.Forms
//Try loading file as a relative path to the folder Mesen was started from
path = Path.Combine(Program.OriginalFolder, path);
}
return path;
if(File.Exists(path)) {
return path;
}
} catch { }
}
return null;