Fix hex editor for MAME when Open Advanced is not used

This commit is contained in:
CasualPokePlayer 2022-11-25 01:31:02 -08:00
parent 9a0403617b
commit bae71326bf
1 changed files with 1 additions and 1 deletions

View File

@ -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);