Merge pull request #5979 from leoetlino/extract-tmd
DiscIO: Fix TMD extraction
This commit is contained in:
commit
d1223b6472
|
@ -166,7 +166,7 @@ bool ExportTMD(const Volume& volume, const Partition& partition, const std::stri
|
||||||
if (!size || !offset)
|
if (!size || !offset)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return ExportData(volume, PARTITION_NONE, *offset, *size, export_filename);
|
return ExportData(volume, PARTITION_NONE, partition.offset + *offset, *size, export_filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ExportCertificateChain(const Volume& volume, const Partition& partition,
|
bool ExportCertificateChain(const Volume& volume, const Partition& partition,
|
||||||
|
|
Loading…
Reference in New Issue