mirror of
https://github.com/libretro/Mesen.git
synced 2025-02-09 10:32:59 +00:00
Command Line: ROM path no longer needs to be the first parameter (regression fix)
This commit is contained in:
parent
f4d03585f4
commit
b54071c43d
@ -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…
x
Reference in New Issue
Block a user