diff --git a/LibIRD/IRD.cs b/LibIRD/IRD.cs index f5ae787..0cb3ff6 100644 --- a/LibIRD/IRD.cs +++ b/LibIRD/IRD.cs @@ -365,13 +365,12 @@ namespace LibIRD /// Disc Key, byte array of length 16 /// Disc ID, byte array of length 16 /// Disc PIC, byte array of length 115 - /// True if redump-style IRD + /// True if redump-style IRD (default: false) public IRD(string isoPath, byte[] discKey, byte[] discID, byte[] discPIC, bool redump = false) { // Parse ISO, Disc Key, Disc ID, and PIC DiscKey = discKey; - GenerateD1(discKey); - GenerateD2(discID); + DiscID = discID; PIC = discPIC; // Generate IRD files from ISO diff --git a/LibIRD/ReIRD.cs b/LibIRD/ReIRD.cs index a6d2b8c..be742fe 100644 --- a/LibIRD/ReIRD.cs +++ b/LibIRD/ReIRD.cs @@ -95,7 +95,7 @@ namespace LibIRD /// Disc Key, redump-style (AES encrypted Data 1) /// Layerbreak value, in sectors /// Disc Region - public ReIRD(string isoPath, byte[] key, long? layerbreak = null, Region region = Region.NONE) + public ReIRD(string isoPath, byte[] key, long? layerbreak = null, Region region = Region.NONE) : base() { // Generate Unique Identifier using ISO CRC32 UID = GenerateUID(isoPath);