mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
DiscIO: Fix TMD extraction
The offset that we read from the header is relative to the partition.
This commit is contained in:
parent
5da26f33cf
commit
31b04149b3
@ -166,7 +166,7 @@ bool ExportTMD(const Volume& volume, const Partition& partition, const std::stri
|
||||
if (!size || !offset)
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user