/// <inheritdoc />
 public IProgramFeaturesBuilder WithIntellicartFeatures(IntellicartCC3Features intellicartFeatures)
 {
     _programFeatures.Intellicart = intellicartFeatures;
     return(this);
 }
Example #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="intellicart">Intellicart features.</param>
 internal UnmergedProgram(string code, string title, string vendor, string year, uint[] crcData, string[] crcDescriptions, GeneralFeatures generalFeatures, IntellicartCC3Features intellicart)
 {
     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.Intellicart     = intellicart;
 }