Explorar o código

Actual kill execution when the bit isn't set, not the other way around

David Marcec %!s(int64=7) %!d(string=hai) anos
pai
achega
af3ba94b2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/hle/kernel/svc.cpp

+ 1 - 1
src/core/hle/kernel/svc.cpp

@@ -308,12 +308,12 @@ static void Break(u64 reason, u64 info1, u64 info2) {
             Debug_Emulated,
             "Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}",
             reason, info1, info2);
+        ASSERT(false);
     } else {
         LOG_ERROR(
             Debug_Emulated,
             "Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}",
             reason, info1, info2);
-        ASSERT(false);
     }
 }