/[RomCheater]/trunk/RomCheater/Docking/MemorySearch/ResultItemState.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/MemorySearch/ResultItemState.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Docking/MemorySearch/ResultItemState.cs	2012/06/03 15:28:16	248
+++ trunk/RomCheater/Docking/MemorySearch/ResultItemState.cs	2012/06/03 16:09:05	249
@@ -28,7 +28,7 @@
                 case "false": frozen = false; break;
             }
 
-            uint Address = Convert.ToUInt32(state.Address, 16);
+            int Address = Convert.ToInt32(state.Address, 16);
             switch (state.ValueType)
             {
                 case SearchDataTypes._8bits:
@@ -73,8 +73,8 @@
         public ResultItemState(string address, SearchDataTypes bitsize, bool IsUnsigned, IAcceptsProcessAndConfig pconfig)
             : this(AVPIconKeys.NOTFROZEN, address, "", false.ToString(), bitsize, IsUnsigned, pconfig)
         {
-            uint Address = 0;
-            Address = Convert.ToUInt32(this.Address, 16);
+            int Address = 0;
+            Address = Convert.ToInt32(this.Address, 16);
             GenericMemoryProvider provider = new GenericMemoryProvider(pconfig);
             provider.OpenProvider();
             int bytesReadSize;

 

  ViewVC Help
Powered by ViewVC 1.1.22