mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-30 15:39:02 -05:00 
			
		
		
		
	address_arbiter: Correct assignment within an assertion statement in WakeThreads()
This was introduced within 4f81bc4e1b, and
considering there's no comment indicating that this is intentional, this
is very likely a bug.
			
			
This commit is contained in:
		| @@ -65,7 +65,7 @@ static void WakeThreads(std::vector<SharedPtr<Thread>>& 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(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lioncash
					Lioncash