diff options
| author | Lioncash <mathew1800@gmail.com> | 2022-12-05 14:51:15 -0500 | 
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2022-12-05 15:19:36 -0500 | 
| commit | dddc9bb8f1aeb2bef78c7264a385d87044ddfa2c (patch) | |
| tree | f36952ecf693754a95d521c53fd154cbfae31d75 | |
| parent | 4769d798f9f9bae405adf8573fd25f157154712b (diff) | |
kernel/thread: Ensure stack_top and argument are always initialized
| -rw-r--r-- | src/core/hle/kernel/k_thread.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index f38c92bff..dc52b4ed3 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -784,8 +784,8 @@ private:      std::vector<KSynchronizationObject*> wait_objects_for_debugging;      VAddr mutex_wait_address_for_debugging{};      ThreadWaitReasonForDebugging wait_reason_for_debugging{}; -    uintptr_t argument; -    VAddr stack_top; +    uintptr_t argument{}; +    VAddr stack_top{};  public:      using ConditionVariableThreadTreeType = ConditionVariableThreadTree; | 
