ams: dump tls in fatal error context
This commit is contained in:
1 parent
08d9de6907
commit
4c5e980e07
4 files changed
+24
-13
No files matched your search
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user