summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-19 05:56:28 +0200
committerGitHub <noreply@github.com>2018-07-19 05:56:28 +0200
commit368e1d25be7893413c4fb845c837c013be5eb70c (patch)
tree18cc4258bfdee11ea2b0c5a9f0ac120eb00e0d76
parentMerge pull request #690 from lioncash/move (diff)
parentaddress_arbiter: Correct assignment within an assertion statement in WakeThreads() (diff)
downloadyuzu-368e1d25be7893413c4fb845c837c013be5eb70c.tar
yuzu-368e1d25be7893413c4fb845c837c013be5eb70c.tar.gz
yuzu-368e1d25be7893413c4fb845c837c013be5eb70c.tar.bz2
yuzu-368e1d25be7893413c4fb845c837c013be5eb70c.tar.lz
yuzu-368e1d25be7893413c4fb845c837c013be5eb70c.tar.xz
yuzu-368e1d25be7893413c4fb845c837c013be5eb70c.tar.zst
yuzu-368e1d25be7893413c4fb845c837c013be5eb70c.zip
-rw-r--r--src/core/hle/kernel/address_arbiter.cpp2
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
// 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();