From a8fb30e517eb99b719636a2a6c7706e3aafe8d72 Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Thu, 18 Aug 2011 01:55:47 +0000 Subject: [PATCH] Hex Editor - fix Add To Ram Watch and Freeze Address menu items to use the Highlighted address not the pointed to address (which would never be an address since the mouse would not be on an address!) --- BizHawk.MultiClient/tools/HexEditor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.MultiClient/tools/HexEditor.cs b/BizHawk.MultiClient/tools/HexEditor.cs index 9ce0448be9..0e08b3b94b 100644 --- a/BizHawk.MultiClient/tools/HexEditor.cs +++ b/BizHawk.MultiClient/tools/HexEditor.cs @@ -216,7 +216,7 @@ namespace BizHawk.MultiClient private void AddToRamWatch() { //Add to RAM Watch - int address = MemoryViewer.GetPointedAddress(); + int address = MemoryViewer.GetHighlightedAddress(); if (address >= 0) { Watch w = new Watch(); @@ -299,7 +299,7 @@ namespace BizHawk.MultiClient private void FreezeAddress() { - int address = MemoryViewer.GetPointedAddress(); + int address = MemoryViewer.GetHighlightedAddress(); if (address >= 0) { Cheat c = new Cheat();