Fix hex editor for MAME when Open Advanced is not used
This commit is contained in:
parent
9a0403617b
commit
bae71326bf
|
@ -205,7 +205,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
public override void Restart()
|
||||
{
|
||||
if (!(MainForm.CurrentlyOpenRomArgs.OpenAdvanced is OpenAdvanced_MAME))
|
||||
if (Emulator.SystemId is not VSystemID.Raw.Arcade)
|
||||
{
|
||||
_rom = GetRomBytes();
|
||||
_romDomain = new MemoryDomainByteArray(ROM_DOMAIN_NAME, MemoryDomain.Endian.Little, _rom, writable: true, wordSize: 1);
|
||||
|
|
Loading…
Reference in New Issue