mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
boot: implement CheckAndRepairBootImages
This commit is contained in:
parent
a4ee4d20ad
commit
7581306109
13 changed files with 1581 additions and 3 deletions
|
@ -134,13 +134,16 @@ int main(int argc, char **argv)
|
|||
/* Configure the PMC wake pin settings. */
|
||||
Boot::SetInitialWakePinConfiguration();
|
||||
|
||||
/* Configure output clock. */
|
||||
if (hw_type != HardwareType_Copper) {
|
||||
Boot::SetInitialClockConfiguration();
|
||||
}
|
||||
|
||||
/* Set Fan enable config (Copper only). */
|
||||
Boot::SetFanEnabled();
|
||||
|
||||
/* TODO: CheckAndRepairBootImages(); */
|
||||
/* Repair boot partitions in NAND if needed. */
|
||||
Boot::CheckAndRepairBootImages();
|
||||
|
||||
/* Tell PM to start boot2. */
|
||||
if (R_FAILED(pmshellNotifyBootFinished())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue