summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_thread.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-02-18 00:00:07 +0100
committerGitHub <noreply@github.com>2024-02-18 00:00:07 +0100
commit53f8383354470d58ab7a6cb5303708d59883adfa (patch)
tree66f830fa18e36c599315475670dfd92c5ef73b45 /src/core/hle/kernel/k_thread.h
parentMerge pull request #13040 from Kelebek1/timezone_shutdown (diff)
parentkernel: add and enable system suspend type (diff)
downloadyuzu-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.h4
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);