ams: dump tls in fatal error context

This commit is contained in:
Michael Scire committed 2020-03-08 17:01:53 -07:00
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. */