fix crash in loading hex editor (openadvanced regression)
This commit is contained in:
parent
4de1d244ce
commit
bc2e8c773d
|
@ -367,8 +367,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private static byte[] GetRomBytes()
|
||||
{
|
||||
var path = GlobalWin.MainForm.CurrentlyOpenRom;
|
||||
if (path == null)
|
||||
var path = GlobalWin.MainForm.CurrentlyOpenRomArgs.OpenAdvanced.SimplePath;
|
||||
if (string.IsNullOrEmpty(path))
|
||||
{
|
||||
return new byte[] { 0xFF };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue