/[RomCheater]/trunk/RomCheater/MemorySizeConstants.cs
ViewVC logotype

Annotation of /trunk/RomCheater/MemorySizeConstants.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 282 - (hide annotations) (download)
Tue Jun 5 01:19:54 2012 UTC (9 years, 3 months ago) by william
File size: 374 byte(s)
+ determine maximum array size to read memory into byte[] array = 0x7fffffc7 (int.MaxValue-0x38)

1 william 282 using System;
2     using System.Collections.Generic;
3     using System.Linq;
4     using System.Text;
5    
6     namespace RomCheater
7     {
8     public static class MemorySizeConstants
9     {
10     public const int MinimumAddress = 0x00000000;
11     public const int MaximumAddress = int.MaxValue - 0x38; // any more than this, for byte arrays, causes out of memory exceptions)
12     }
13     }

  ViewVC Help
Powered by ViewVC 1.1.22