Merge pull request #5979 from leoetlino/extract-tmd

DiscIO: Fix TMD extraction
This commit is contained in:
JosJuice 2017-08-25 17:51:00 +02:00 committed by GitHub
commit d1223b6472
1 changed files with 1 additions and 1 deletions

View File

@ -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,