diff options
| author | 2014-07-21 21:31:21 -0400 | |
|---|---|---|
| committer | 2014-08-05 23:54:27 -0400 | |
| commit | 60078baab1e0efd508e2574fcd7f2970dd9d5fa1 (patch) | |
| tree | b1890271dac544405158fd02b47fa0e9b2e386c9 /src | |
| parent | SRV: Updated GetProcSemaphore to create an event instead of a mutex. (diff) | |
| download | yuzu-60078baab1e0efd508e2574fcd7f2970dd9d5fa1.tar.gz yuzu-60078baab1e0efd508e2574fcd7f2970dd9d5fa1.tar.xz yuzu-60078baab1e0efd508e2574fcd7f2970dd9d5fa1.zip | |
AddressArbiter: Fixed bug with break statements missing from case statements.
Diffstat (limited to 'src')
| -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 | |||
| 54 | ArbitrateHighestPriorityThread(handle, address); | 54 | ArbitrateHighestPriorityThread(handle, address); |
| 55 | } | 55 | } |
| 56 | HLE::Reschedule(__func__); | 56 | HLE::Reschedule(__func__); |
| 57 | break; | ||
| 57 | 58 | ||
| 58 | // Wait current thread (acquire the arbiter)... | 59 | // Wait current thread (acquire the arbiter)... |
| 59 | case ArbitrationType::WaitIfLessThan: | 60 | case ArbitrationType::WaitIfLessThan: |
| @@ -61,6 +62,7 @@ Result ArbitrateAddress(Handle handle, ArbitrationType type, u32 address, s32 va | |||
| 61 | Kernel::WaitCurrentThread(WAITTYPE_ARB, handle); | 62 | Kernel::WaitCurrentThread(WAITTYPE_ARB, handle); |
| 62 | HLE::Reschedule(__func__); | 63 | HLE::Reschedule(__func__); |
| 63 | } | 64 | } |
| 65 | break; | ||
| 64 | 66 | ||
| 65 | default: | 67 | default: |
| 66 | ERROR_LOG(KERNEL, "unknown type=%d", type); | 68 | ERROR_LOG(KERNEL, "unknown type=%d", type); |