From 60078baab1e0efd508e2574fcd7f2970dd9d5fa1 Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 21 Jul 2014 21:31:21 -0400 Subject: AddressArbiter: Fixed bug with break statements missing from case statements. --- src/core/hle/kernel/address_arbiter.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3