Browse Source
Merge pull request #692 from lioncash/assign
address_arbiter: Correct assignment within an assertion statement in WakeThreads()
pull/15/merge
bunnei
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/core/hle/kernel/address_arbiter.cpp
|
|
@ -65,7 +65,7 @@ static void WakeThreads(std::vector<SharedPtr<Thread>>& waiting_threads, s32 num |
|
|
|
|
|
|
|
|
// Signal the waiting threads.
|
|
|
// Signal the waiting threads.
|
|
|
for (size_t i = 0; i < last; i++) { |
|
|
for (size_t i = 0; i < last; i++) { |
|
|
ASSERT(waiting_threads[i]->status = THREADSTATUS_WAIT_ARB); |
|
|
|
|
|
|
|
|
ASSERT(waiting_threads[i]->status == THREADSTATUS_WAIT_ARB); |
|
|
waiting_threads[i]->SetWaitSynchronizationResult(RESULT_SUCCESS); |
|
|
waiting_threads[i]->SetWaitSynchronizationResult(RESULT_SUCCESS); |
|
|
waiting_threads[i]->arb_wait_address = 0; |
|
|
waiting_threads[i]->arb_wait_address = 0; |
|
|
waiting_threads[i]->ResumeFromWait(); |
|
|
waiting_threads[i]->ResumeFromWait(); |
|
|
|