From e8c0c21c7ccf65b33ccef2d498145ac55e00f25e Mon Sep 17 00:00:00 2001 From: adelikat Date: Mon, 24 Mar 2014 02:25:26 +0000 Subject: [PATCH] Hex Editor - fix a very annoying bug when using File on Disk that was caused by a very annoying thing, ugh --- BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs b/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs index 26fa58b22c..2e80145ff3 100644 --- a/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs +++ b/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs @@ -615,7 +615,7 @@ namespace BizHawk.Client.EmuHawk "File on Disk", _rom.Length, MemoryDomain.Endian.Little, i => _rom[i], (i, value) => _rom[i] = value); // THIS IS HORRIBLE. - _domain = _romDomain; + SetMemoryDomain(_romDomain); } else if (pos < Global.Emulator.MemoryDomains.Count) {