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 04d18dc2f..46fcdefb8 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -201,7 +201,7 @@ void Thread::ResumeFromWait() {
201 201
202 status = THREADSTATUS_READY; 202 status = THREADSTATUS_READY;
203 203
204 boost::optional<s32> new_processor_id = GetNextProcessorId(mask); 204 boost::optional<s32> new_processor_id = GetNextProcessorId(affinity_mask);
205 if (!new_processor_id) { 205 if (!new_processor_id) {
206 new_processor_id = processor_id; 206 new_processor_id = processor_id;
207 } 207 }
@@ -308,7 +308,7 @@ ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point,
308 thread->last_running_ticks = CoreTiming::GetTicks(); 308 thread->last_running_ticks = CoreTiming::GetTicks();
309 thread->processor_id = processor_id; 309 thread->processor_id = processor_id;
310 thread->ideal_core = processor_id; 310 thread->ideal_core = processor_id;
311 thread->mask = 1ULL << processor_id; 311 thread->affinity_mask = 1ULL << processor_id;
312 thread->wait_objects.clear(); 312 thread->wait_objects.clear();
313 thread->mutex_wait_address = 0; 313 thread->mutex_wait_address = 0;
314 thread->condvar_wait_address = 0; 314 thread->condvar_wait_address = 0;