/// <inheritdoc />
 public IProgramFeaturesBuilder WithCuttleCart3Features(CuttleCart3Features cuttleCart3Features)
 {
     _programFeatures.CuttleCart3 = cuttleCart3Features;
     return(this);
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new instance if the UnmergedProgram structure.
 /// </summary>
 /// <param name="code">INTV Funhouse code for the ROM.</param>
 /// <param name="title">The title of the program (typically title screen title).</param>
 /// <param name="vendor">Vendor who wrote the program.</param>
 /// <param name="year">The year the program was copyrighted (or released).</param>
 /// <param name="crcData">The CRC values of known versions of the program.</param>
 /// <param name="crcDescriptions">The descriptions of the known versions of the program for each CRC.</param>
 /// <param name="generalFeatures">Generic program features.</param>
 /// <param name="cuttleCart3">Cuttle Cart 3 features.</param>
 internal UnmergedProgram(string code, string title, string vendor, string year, uint[] crcData, string[] crcDescriptions, GeneralFeatures generalFeatures, CuttleCart3Features cuttleCart3)
 {
     Code                     = code;
     CrcData                  = crcData;
     CrcDescriptions          = crcDescriptions;
     CrcCfgs                  = Enumerable.Repeat(-1, crcData.Count()).ToArray();
     Year                     = year;
     Title                    = title;
     Vendor                   = vendor;
     Features                 = new ProgramFeatures();
     Features.GeneralFeatures = generalFeatures;
     Features.CuttleCart3     = cuttleCart3;
 }