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:
parent
4b021113fb
commit
a8fb30e517
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue