Browse Source

kernel/thread: Ensure stack_top and argument are always initialized

nce_cpp
Lioncash 3 years ago
parent
commit
6fea145402
  1. 4
      src/core/hle/kernel/k_thread.h

4
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;

Loading…
Cancel
Save