From 0b068d84d58e4e6584672c5e1a632df8ad67df5c Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 20 Jun 2017 15:41:17 +0200 Subject: FilesystemPanel: Overhaul the right-click menu --- Source/Core/DiscIO/DiscExtractor.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Source/Core/DiscIO/DiscExtractor.cpp') 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 -- cgit v1.2.3