mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-29 07:23:03 +00:00
AddressArbiter: Fixed bug with break statements missing from case statements.
This commit is contained in:
parent
1b247b8031
commit
60078baab1
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue