fix loading archive from recent roms (broke in 7a72bf72e6
)
This commit is contained in:
parent
c8265f6c10
commit
63e1bc5511
|
@ -3553,7 +3553,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
bool ret = _LoadRom(path, args);
|
||||
if(!ret) return false;
|
||||
Global.Config.LastRomPath = Path.GetFullPath(Path.GetDirectoryName(path));
|
||||
|
||||
//what's the meaning of the last rom path when opening an archive? based on the archive file location
|
||||
var leftpart = path.Split('|')[0];
|
||||
Global.Config.LastRomPath = Path.GetFullPath(Path.GetDirectoryName(leftpart));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue