mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
wtf pmc reboot doesn't fully work -- display doesn't reinitialize
This commit is contained in:
parent
f45bc83bc4
commit
3dd6ec5f6c
2 changed files with 8 additions and 4 deletions
|
@ -57,8 +57,10 @@ __attribute__((noreturn)) void fatal_error(const char *fmt, ...) {
|
||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
vprintk(fmt, args);
|
vprintk(fmt, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
printk("\nPress POWER to reboot into RCM, VOL+/VOL- to reboot normally.\n");
|
printk("\nHanging...\n");
|
||||||
wait_for_button_and_pmc_reboot();
|
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)
|
__attribute__((noinline)) bool overlaps(uint64_t as, uint64_t ae, uint64_t bs, uint64_t be)
|
||||||
|
|
|
@ -57,8 +57,10 @@ __attribute__((noreturn)) void fatal_error(const char *fmt, ...) {
|
||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
vprintf(fmt, args);
|
vprintf(fmt, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
printf("\n Press POWER to reboot into RCM, VOL+/VOL- to reboot normally.\n");
|
printf("Hanging...\n");
|
||||||
wait_for_button_and_pmc_reboot();
|
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)
|
__attribute__((noinline)) bool overlaps(uint64_t as, uint64_t ae, uint64_t bs, uint64_t be)
|
||||||
|
|
Loading…
Reference in a new issue