mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
ams: dump tls in fatal error context
This commit is contained in:
parent
08d9de6907
commit
4c5e980e07
4 changed files with 24 additions and 13 deletions
|
@ -119,6 +119,9 @@ namespace ams {
|
|||
ams_ctx.stack_dump_size = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Grab 0x100 of tls. */
|
||||
std::memcpy(ams_ctx.tls, armGetTls(), sizeof(ams_ctx.tls));
|
||||
}
|
||||
|
||||
/* Just call the user exception handler. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue