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!)

This commit is contained in:
andres.delikat 2011-08-18 01:55:47 +00:00
parent 4b021113fb
commit a8fb30e517
1 changed files with 2 additions and 2 deletions

View File

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