diff options
| author | JosJuice <josjuice@gmail.com> | 2017-06-17 13:37:33 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-06-28 22:22:04 +0200 |
| commit | 89c901780edb286df7cfbdce8cb1b38a6cb529e2 (patch) | |
| tree | 789583d55feedcd9b133ad295d327b3df441aa81 /Source/Core/DiscIO/DiscExtractor.h | |
| parent | 1f31390b54f17f7dd5bd8f17f1842d76b9a4697d (diff) | |
DiscScrubber: Deduplicate code for writing to file
Diffstat (limited to 'Source/Core/DiscIO/DiscExtractor.h')
| -rw-r--r-- | Source/Core/DiscIO/DiscExtractor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/DiscExtractor.h b/Source/Core/DiscIO/DiscExtractor.h index e5d80a13ce..2d5299e970 100644 --- a/Source/Core/DiscIO/DiscExtractor.h +++ b/Source/Core/DiscIO/DiscExtractor.h @@ -16,6 +16,8 @@ class Volume; u64 ReadFile(const Volume& volume, const Partition& partition, const FileInfo* file_info, u8* buffer, u64 max_buffer_size, u64 offset_in_file = 0); +bool ExportData(const Volume& volume, const Partition& partition, u64 offset, u64 size, + const std::string& export_filename); bool ExportFile(const Volume& volume, const Partition& partition, const FileInfo* file_info, const std::string& export_filename); bool ExportApploader(const Volume& volume, const Partition& partition, |
