Ram search: fix searching for a specific value >= 0x80000000

This commit is contained in:
pjgat09 2015-03-15 02:35:47 +00:00
parent a38edb2cc0
commit 876bb5adf4
1 changed files with 2 additions and 2 deletions

View File

@ -435,7 +435,7 @@ namespace BizHawk.Client.EmuHawk
_searches.Domain.CanPoke(); _searches.Domain.CanPoke();
} }
private int? CompareToValue private long? CompareToValue
{ {
get get
{ {
@ -446,7 +446,7 @@ namespace BizHawk.Client.EmuHawk
if (SpecificValueRadio.Checked) if (SpecificValueRadio.Checked)
{ {
return SpecificValueBox.ToRawInt(); return (long)SpecificValueBox.ToRawInt() & 0x00000000FFFFFFFF;
} }
if (SpecificAddressRadio.Checked) if (SpecificAddressRadio.Checked)