Explorar o código

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

bunnei %!s(int64=12) %!d(string=hai) anos
pai
achega
60078baab1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/core/hle/kernel/address_arbiter.cpp

+ 2 - 0
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);