Little oversight
This commit is contained in:
parent
670460df8c
commit
4d445244d7
|
@ -367,7 +367,7 @@ namespace BizHawk.MultiClient
|
|||
if (String.IsNullOrWhiteSpace(ValueBox.Text))
|
||||
c.value = 0;
|
||||
else
|
||||
c.value = (byte)((int.Parse(ValueBox.Text, NumberStyles.HexNumber) & 0xFF00) >> 8);
|
||||
c.value = (byte)(int.Parse(ValueBox.Text, NumberStyles.HexNumber));
|
||||
|
||||
if (!String.IsNullOrWhiteSpace(CompareBox.Text))
|
||||
{
|
||||
|
|
|
@ -305,12 +305,14 @@ namespace BizHawk.MultiClient
|
|||
if (String.IsNullOrWhiteSpace(AddressBox.Text))
|
||||
c.address = 0;
|
||||
else
|
||||
{
|
||||
c.address = int.Parse(AddressBox.Text, NumberStyles.HexNumber);
|
||||
|
||||
c.address += 0x8000;
|
||||
}
|
||||
if (String.IsNullOrWhiteSpace(ValueBox.Text))
|
||||
c.value = 0;
|
||||
else
|
||||
c.value = (byte)((int.Parse(ValueBox.Text, NumberStyles.HexNumber) & 0xFF00) >> 8);
|
||||
c.value = (byte)(int.Parse(ValueBox.Text, NumberStyles.HexNumber));
|
||||
|
||||
c.compare = null;
|
||||
for (int x = 0; x < Global.Emulator.MemoryDomains.Count; x++)
|
||||
|
|
Loading…
Reference in New Issue