diff options
Diffstat (limited to 'Source/Core/DiscIO/DiscExtractor.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DiscExtractor.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/DiscExtractor.cpp b/Source/Core/DiscIO/DiscExtractor.cpp index 9a2dd16487..d0d7500897 100644 --- a/Source/Core/DiscIO/DiscExtractor.cpp +++ b/Source/Core/DiscIO/DiscExtractor.cpp @@ -176,4 +176,13 @@ bool ExportDOL(const Volume& volume, const Partition& partition, const std::stri return ExportData(volume, partition, *dol_offset, *dol_size, export_filename); } +bool ExportSystemData(const Volume& volume, const Partition& partition, + const std::string& export_folder) +{ + bool success = true; + success &= ExportApploader(volume, partition, export_folder + "/apploader.img"); + success &= ExportDOL(volume, partition, export_folder + "/boot.dol"); + return success; +} + } // namespace DiscIO |
