diff options
| author | 2018-07-18 19:46:43 -0400 | |
|---|---|---|
| committer | 2018-07-18 19:46:46 -0400 | |
| commit | 2cd3141c30fb6084e4bf6fe16f365e0752a0f7b8 (patch) | |
| tree | 560552de4965febd0c81f8e81e49d76651267069 | |
| parent | Merge pull request #683 from DarkLordZach/touch (diff) | |
| download | yuzu-2cd3141c30fb6084e4bf6fe16f365e0752a0f7b8.tar.gz yuzu-2cd3141c30fb6084e4bf6fe16f365e0752a0f7b8.tar.xz yuzu-2cd3141c30fb6084e4bf6fe16f365e0752a0f7b8.zip | |
address_arbiter: Correct assignment within an assertion statement in WakeThreads()
This was introduced within 4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0, and
considering there's no comment indicating that this is intentional, this
is very likely a bug.
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/kernel/address_arbiter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/address_arbiter.cpp b/src/core/hle/kernel/address_arbiter.cpp index d5df9590a..dcc68aabf 100644 --- a/src/core/hle/kernel/address_arbiter.cpp +++ b/src/core/hle/kernel/address_arbiter.cpp | |||
| @@ -65,7 +65,7 @@ static void WakeThreads(std::vector<SharedPtr<Thread>>& waiting_threads, s32 num | |||
| 65 | 65 | ||
| 66 | // Signal the waiting threads. | 66 | // Signal the waiting threads. |
| 67 | for (size_t i = 0; i < last; i++) { | 67 | for (size_t i = 0; i < last; i++) { |
| 68 | ASSERT(waiting_threads[i]->status = THREADSTATUS_WAIT_ARB); | 68 | ASSERT(waiting_threads[i]->status == THREADSTATUS_WAIT_ARB); |
| 69 | waiting_threads[i]->SetWaitSynchronizationResult(RESULT_SUCCESS); | 69 | waiting_threads[i]->SetWaitSynchronizationResult(RESULT_SUCCESS); |
| 70 | waiting_threads[i]->arb_wait_address = 0; | 70 | waiting_threads[i]->arb_wait_address = 0; |
| 71 | waiting_threads[i]->ResumeFromWait(); | 71 | waiting_threads[i]->ResumeFromWait(); |