/[RomCheater]/trunk/RomCheater/Docking/FloatingMemorySearcher.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingMemorySearcher.cs

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

--- trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2012/06/20 13:24:49	399
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2012/06/21 03:37:14	400
@@ -82,7 +82,7 @@
 #if FORCE_USE_OF_MEMORYSIZECONSTANTS
             // force use of MemorySizeConstants
             txtMemoryRangeStart.Value = MemorySizeConstants.MinimumSearchAddress;
-            txtMemoryRangeSize.Value = MemorySizeConstants.MinimumSearchAddress + MemorySizeConstants.MaximumSearchSize;
+            unchecked { txtMemoryRangeSize.Value = MemorySizeConstants.MinimumSearchAddress + MemorySizeConstants.MaximumSearchSize; }
 #endif
 #if USE_AUTOMATIC_MEMORY_SEARCH_RANGE && !FORCE_USE_OF_MEMORYSIZECONSTANTS
             ////// code to automatically choose the best starting memory address and size
@@ -148,7 +148,7 @@
             get
             {
 #if FORCE_USE_OF_MEMORYSIZECONSTANTS
-                return MemorySizeConstants.MinimumSearchAddress + MemorySizeConstants.MaximumSearchSize;
+                unchecked { return MemorySizeConstants.MinimumSearchAddress + MemorySizeConstants.MaximumSearchSize; }
 #else
                 return _MemoryRangeSize;
 #endif

 

  ViewVC Help
Powered by ViewVC 1.1.22