probably should not try to set last rom directory when opening al ibretro core
This commit is contained in:
parent
63e1bc5511
commit
e368f42254
|
@ -3555,8 +3555,11 @@ namespace BizHawk.Client.EmuHawk
|
||||||
if(!ret) return false;
|
if(!ret) return false;
|
||||||
|
|
||||||
//what's the meaning of the last rom path when opening an archive? based on the archive file location
|
//what's the meaning of the last rom path when opening an archive? based on the archive file location
|
||||||
var leftpart = path.Split('|')[0];
|
if (args.OpenAdvanced is OpenAdvanced_OpenRom)
|
||||||
Global.Config.LastRomPath = Path.GetFullPath(Path.GetDirectoryName(leftpart));
|
{
|
||||||
|
var leftpart = path.Split('|')[0];
|
||||||
|
Global.Config.LastRomPath = Path.GetFullPath(Path.GetDirectoryName(leftpart));
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue