FilesystemPanel: Overhaul the right-click menu

This commit is contained in:
JosJuice 2017-06-20 15:41:17 +02:00
parent 2ca5f1dec8
commit 0b068d84d5
4 changed files with 80 additions and 66 deletions

View file

@ -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