Beispiel #1
0
 private static void AddDefaultBank(ref int i, bool reserved, string desc)
 {
     DefaultAllocation[i] = new BankAllocation(i)
     {
         Reserved = reserved, Description = desc
     };
     i++;
 }
Beispiel #2
0
        public static BankAllocation[] CreateNewAllocationTable()
        {
            BankAllocation[] result = new BankAllocation[MMC3BankCount];
            for (int i = 0; i < DefaultAllocation.Length; i++)
            {
                result[i] = (BankAllocation)DefaultAllocation[i].MemberwiseClone();
            }

            return(result);
        }