summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/DiscExtractor.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-06-20 15:41:17 +0200
committerJosJuice <josjuice@gmail.com>2017-06-28 22:23:01 +0200
commit0b068d84d58e4e6584672c5e1a632df8ad67df5c (patch)
treea46e7e74136e5eafe8f851e52e021fc720f04dd8 /Source/Core/DiscIO/DiscExtractor.cpp
parent2ca5f1dec8e4d00159ff3b3b4be90e225f0621d2 (diff)
FilesystemPanel: Overhaul the right-click menu
Diffstat (limited to 'Source/Core/DiscIO/DiscExtractor.cpp')
-rw-r--r--Source/Core/DiscIO/DiscExtractor.cpp9
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