Skip to content
Snippets Groups Projects
Commit 60078baa authored by bunnei's avatar bunnei
Browse files

AddressArbiter: Fixed bug with break statements missing from case statements.

parent 1b247b80
No related branches found
No related tags found
Loading
...@@ -54,6 +54,7 @@ Result ArbitrateAddress(Handle handle, ArbitrationType type, u32 address, s32 va ...@@ -54,6 +54,7 @@ Result ArbitrateAddress(Handle handle, ArbitrationType type, u32 address, s32 va
ArbitrateHighestPriorityThread(handle, address); ArbitrateHighestPriorityThread(handle, address);
} }
HLE::Reschedule(__func__); HLE::Reschedule(__func__);
break;
// Wait current thread (acquire the arbiter)... // Wait current thread (acquire the arbiter)...
case ArbitrationType::WaitIfLessThan: case ArbitrationType::WaitIfLessThan:
...@@ -61,6 +62,7 @@ Result ArbitrateAddress(Handle handle, ArbitrationType type, u32 address, s32 va ...@@ -61,6 +62,7 @@ Result ArbitrateAddress(Handle handle, ArbitrationType type, u32 address, s32 va
Kernel::WaitCurrentThread(WAITTYPE_ARB, handle); Kernel::WaitCurrentThread(WAITTYPE_ARB, handle);
HLE::Reschedule(__func__); HLE::Reschedule(__func__);
} }
break;
default: default:
ERROR_LOG(KERNEL, "unknown type=%d", type); ERROR_LOG(KERNEL, "unknown type=%d", type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment