diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-18 00:00:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 00:00:07 +0100 |
commit | 53f8383354470d58ab7a6cb5303708d59883adfa (patch) | |
tree | 66f830fa18e36c599315475670dfd92c5ef73b45 /src/core/hle/kernel/k_thread.h | |
parent | Merge pull request #13040 from Kelebek1/timezone_shutdown (diff) | |
parent | kernel: add and enable system suspend type (diff) | |
download | yuzu-53f8383354470d58ab7a6cb5303708d59883adfa.tar yuzu-53f8383354470d58ab7a6cb5303708d59883adfa.tar.gz yuzu-53f8383354470d58ab7a6cb5303708d59883adfa.tar.bz2 yuzu-53f8383354470d58ab7a6cb5303708d59883adfa.tar.lz yuzu-53f8383354470d58ab7a6cb5303708d59883adfa.tar.xz yuzu-53f8383354470d58ab7a6cb5303708d59883adfa.tar.zst yuzu-53f8383354470d58ab7a6cb5303708d59883adfa.zip |
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
-rw-r--r-- | src/core/hle/kernel/k_thread.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index f13e232b2..e928cfebc 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -66,6 +66,7 @@ enum class SuspendType : u32 { Debug = 2, Backtrace = 3, Init = 4, + System = 5, Count, }; @@ -84,8 +85,9 @@ enum class ThreadState : u16 { DebugSuspended = (1 << (2 + SuspendShift)), BacktraceSuspended = (1 << (3 + SuspendShift)), InitSuspended = (1 << (4 + SuspendShift)), + SystemSuspended = (1 << (5 + SuspendShift)), - SuspendFlagMask = ((1 << 5) - 1) << SuspendShift, + SuspendFlagMask = ((1 << 6) - 1) << SuspendShift, }; DECLARE_ENUM_FLAG_OPERATORS(ThreadState); |