mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
KThreadContext: Use El0PsrMask constant in GetUserContext
This commit is contained in:
parent
2b6719ec25
commit
9545cbb4cb
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ namespace ams::kern::arch::arm64 {
|
|||
} else {
|
||||
/* Set special registers. */
|
||||
out->pc = static_cast<u32>(e_ctx->pc);
|
||||
out->pstate = e_ctx->psr & 0xFF0FFE20;
|
||||
out->pstate = e_ctx->psr & El0PsrMask;
|
||||
|
||||
/* Get the thread's general purpose registers. */
|
||||
for (size_t i = 0; i < 15; ++i) {
|
||||
|
|
Loading…
Reference in a new issue