ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/MemorySizeConstants.cs
Revision: 282
Committed: Tue Jun 5 01:19:54 2012 UTC (10 years, 11 months ago) by william
File size: 374 byte(s)
Log Message:
+ determine maximum array size to read memory into byte[] array = 0x7fffffc7 (int.MaxValue-0x38)

File Contents

# User Rev Content
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     }