private static void AddDefaultBank(ref int i, bool reserved, string desc) { DefaultAllocation[i] = new BankAllocation(i) { Reserved = reserved, Description = desc }; i++; }
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); }