From 2cd3141c30fb6084e4bf6fe16f365e0752a0f7b8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 18 Jul 2018 19:46:43 -0400 Subject: 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. --- src/core/hle/kernel/address_arbiter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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>& waiting_threads, s32 num // Signal the waiting threads. 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]->arb_wait_address = 0; waiting_threads[i]->ResumeFromWait(); -- cgit v1.2.3