summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index 0385a64fd..cb5b89379 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -145,7 +145,7 @@ void ChangeReadyState(Thread* t, bool ready) {
145/// Verify that a thread has not been released from waiting 145/// Verify that a thread has not been released from waiting
146inline bool VerifyWait(const Handle& thread, WaitType type, Handle handle) { 146inline bool VerifyWait(const Handle& thread, WaitType type, Handle handle) {
147 Handle wait_id = 0; 147 Handle wait_id = 0;
148 Thread *t = g_object_pool.GetFast<Thread>(thread); 148 Thread* t = g_object_pool.GetFast<Thread>(thread);
149 if (t != nullptr && type == t->wait_type && handle == t->wait_handle) { 149 if (t != nullptr && type == t->wait_type && handle == t->wait_handle) {
150 return true; 150 return true;
151 } else { 151 } else {
@@ -158,7 +158,7 @@ inline bool VerifyWait(const Handle& thread, WaitType type, Handle handle) {
158/// Stops the current thread 158/// Stops the current thread
159void StopThread(Handle thread, const char* reason) { 159void StopThread(Handle thread, const char* reason) {
160 u32 error; 160 u32 error;
161 Thread *t = g_object_pool.Get<Thread>(thread, error); 161 Thread* t = g_object_pool.Get<Thread>(thread, error);
162 if (t) { 162 if (t) {
163 ChangeReadyState(t, false); 163 ChangeReadyState(t, false);
164 t->status = THREADSTATUS_DORMANT; 164 t->status = THREADSTATUS_DORMANT;