Fix issue with manual IRD creation
This commit is contained in:
+2
-3
@@ -365,13 +365,12 @@ namespace LibIRD
|
||||
/// <param name="discKey">Disc Key, byte array of length 16</param>
|
||||
/// <param name="discID">Disc ID, byte array of length 16</param>
|
||||
/// <param name="discPIC">Disc PIC, byte array of length 115</param>
|
||||
/// <param name="redump">True if redump-style IRD</param>
|
||||
/// <param name="redump">True if redump-style IRD (default: false)</param>
|
||||
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
|
||||
|
||||
+1
-1
@@ -95,7 +95,7 @@ namespace LibIRD
|
||||
/// <param name="key">Disc Key, redump-style (AES encrypted Data 1)</param>
|
||||
/// <param name="layerbreak">Layerbreak value, in sectors</param>
|
||||
/// <param name="region">Disc Region</param>
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user