mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-05 01:03:43 -04:00
updater: improve api
This commit is contained in:
parent
6096fa0e45
commit
33d6dfb6b3
2 changed files with 74 additions and 49 deletions
|
@ -21,7 +21,16 @@
|
|||
namespace ams::updater {
|
||||
|
||||
/* Public API. */
|
||||
BootImageUpdateType GetBootImageUpdateType(int boot_image_update_type);
|
||||
BootImageUpdateType GetBootImageUpdateType(spl::HardwareType hw_type);
|
||||
|
||||
Result GetBootImagePackageId(ncm::SystemDataId *out_data_id, BootModeType mode, void *work_buffer, size_t work_buffer_size);
|
||||
|
||||
Result MarkVerifyingRequired(BootModeType mode, void *work_buffer, size_t work_buffer_size);
|
||||
Result MarkVerified(BootModeType mode, void *work_buffer, size_t work_buffer_size);
|
||||
|
||||
Result UpdateBootImagesFromPackage(ncm::SystemDataId boot_image_package_id, BootModeType mode, void *work_buffer, size_t work_buffer_size, BootImageUpdateType boot_image_update_type);
|
||||
|
||||
Result VerifyBootImagesAndRepairIfNeeded(bool *out_repaired_normal, bool *out_repaired_safe, void *work_buffer, size_t work_buffer_size, BootImageUpdateType boot_image_update_type);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue