diff options
author | bunnei <bunneidev@gmail.com> | 2014-07-22 03:31:21 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-08-06 05:54:27 +0200 |
commit | 60078baab1e0efd508e2574fcd7f2970dd9d5fa1 (patch) | |
tree | b1890271dac544405158fd02b47fa0e9b2e386c9 /src/core/hle/kernel | |
parent | SRV: Updated GetProcSemaphore to create an event instead of a mutex. (diff) | |
download | yuzu-60078baab1e0efd508e2574fcd7f2970dd9d5fa1.tar yuzu-60078baab1e0efd508e2574fcd7f2970dd9d5fa1.tar.gz yuzu-60078baab1e0efd508e2574fcd7f2970dd9d5fa1.tar.bz2 yuzu-60078baab1e0efd508e2574fcd7f2970dd9d5fa1.tar.lz yuzu-60078baab1e0efd508e2574fcd7f2970dd9d5fa1.tar.xz yuzu-60078baab1e0efd508e2574fcd7f2970dd9d5fa1.tar.zst yuzu-60078baab1e0efd508e2574fcd7f2970dd9d5fa1.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/address_arbiter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/address_arbiter.cpp b/src/core/hle/kernel/address_arbiter.cpp index 61717bbe4..b5cb07f68 100644 --- a/src/core/hle/kernel/address_arbiter.cpp +++ b/src/core/hle/kernel/address_arbiter.cpp @@ -54,6 +54,7 @@ Result ArbitrateAddress(Handle handle, ArbitrationType type, u32 address, s32 va ArbitrateHighestPriorityThread(handle, address); } HLE::Reschedule(__func__); + break; // Wait current thread (acquire the arbiter)... case ArbitrationType::WaitIfLessThan: @@ -61,6 +62,7 @@ Result ArbitrateAddress(Handle handle, ArbitrationType type, u32 address, s32 va Kernel::WaitCurrentThread(WAITTYPE_ARB, handle); HLE::Reschedule(__func__); } + break; default: ERROR_LOG(KERNEL, "unknown type=%d", type); |