summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/DiscExtractor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DiscIO/DiscExtractor.cpp')
-rw-r--r--Source/Core/DiscIO/DiscExtractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/DiscExtractor.cpp b/Source/Core/DiscIO/DiscExtractor.cpp
index 4ebaf249fd..310ca41e9a 100644
--- a/Source/Core/DiscIO/DiscExtractor.cpp
+++ b/Source/Core/DiscIO/DiscExtractor.cpp
@@ -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,