Command Line: ROM path no longer needs to be the first parameter (regression fix)
This commit is contained in:
parent
f4d03585f4
commit
b54071c43d
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue