mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 13:44:11 -04:00
Implement Panic() stub.
This commit is contained in:
parent
fba3d1c2d9
commit
66b3b3a706
6 changed files with 59 additions and 9 deletions
|
@ -566,7 +566,7 @@ uint32_t smc_configure_carveout(smc_args_t *args) {
|
|||
}
|
||||
|
||||
uint32_t smc_panic(smc_args_t *args) {
|
||||
(void)args;
|
||||
return 0;
|
||||
/* TODO */
|
||||
/* Swap RGB values from args. */
|
||||
uint32_t color = ((args->X[1] & 0xF) << 8) | ((args->X[1] & 0xF0)) | ((args->X[1] & 0xF00) >> 8);
|
||||
panic((color << 20) | 0x40);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue