1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-05 19:51:45 +00:00

wtf pmc reboot doesn't fully work -- display doesn't reinitialize

This commit is contained in:
TuxSH 2018-05-20 16:56:15 +02:00
parent f45bc83bc4
commit 3dd6ec5f6c
2 changed files with 8 additions and 4 deletions

View file

@ -57,8 +57,10 @@ __attribute__((noreturn)) void fatal_error(const char *fmt, ...) {
va_start(args, fmt);
vprintk(fmt, args);
va_end(args);
printk("\nPress POWER to reboot into RCM, VOL+/VOL- to reboot normally.\n");
wait_for_button_and_pmc_reboot();
printk("\nHanging...\n");
while(true);
//printk("\nPress POWER to reboot into RCM, VOL+/VOL- to reboot normally.\n");
//wait_for_button_and_pmc_reboot();
}
__attribute__((noinline)) bool overlaps(uint64_t as, uint64_t ae, uint64_t bs, uint64_t be)

View file

@ -57,8 +57,10 @@ __attribute__((noreturn)) void fatal_error(const char *fmt, ...) {
va_start(args, fmt);
vprintf(fmt, args);
va_end(args);
printf("\n Press POWER to reboot into RCM, VOL+/VOL- to reboot normally.\n");
wait_for_button_and_pmc_reboot();
printf("Hanging...\n");
while(true);
//printf("\n Press POWER to reboot into RCM, VOL+/VOL- to reboot normally.\n");
//wait_for_button_and_pmc_reboot();
}
__attribute__((noinline)) bool overlaps(uint64_t as, uint64_t ae, uint64_t bs, uint64_t be)