protected override void AddPlatformExtendedData(Platform.RomExDataBuilder builder, byte[] rom, RomData data) { string headerCat = RomExDataBuilder.HeaderCat; SmsHeader header = new SmsHeader(rom, SmsHeader.HeaderOffset); builder.AddData(RomExDataBuilder.GeneralCat, "Checksum valid", header.ChecksumValid.AsYesNo()); builder.AddData(headerCat, "Header present", header.HeaderPresent.AsYesNo()); builder.AddData(headerCat, "Checksum", header.Checksum.ToString("X4")); builder.AddData(headerCat, "Checksum valid", header.ChecksumValid.AsYesNo()); if (header.HeaderPresent) { builder.AddData(headerCat, "Product Code", header.ProductCode); builder.AddData(headerCat, "Region", header.Region.GetDescription()); builder.AddData(headerCat, "Version", header.Version.ToString()); builder.AddData(headerCat, "Size", header.Size.GetDescription()); } }
protected override void AddPlatformExtendedData(Platform.RomExDataBuilder builder, byte[] rom, RomData data) { // Nope }
protected override void AddPlatformExtendedData(Platform.RomExDataBuilder builder, byte[] rom, RomData data) { builder.AddData(RomExDataBuilder.GeneralCat, "Byte-swapped", N64.IsByteswapped(rom).GetDescription()); }