Explorar o código

ignore thumbemu 0xDEADCODE debugging catch on MCR

bunnei %!s(int64=12) %!d(string=hai) anos
pai
achega
fbc04ad0c7
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/core/arm/interpreter/armemu.cpp

+ 1 - 2
src/core/arm/interpreter/armemu.cpp

@@ -4478,8 +4478,7 @@ ARMul_Emulate26 (ARMul_State * state)
                                  isize) &
                                  isize) &
                                 R15PCBITS));
                                 R15PCBITS));
 #endif
 #endif
-                    }
-                    else
+                    } else if (instr != 0xDEADC0DE) // thumbemu uses 0xDEADCODE for debugging to catch non updates 
                         ARMul_MCR (state, instr,
                         ARMul_MCR (state, instr,
                                DEST);
                                DEST);
                 }
                 }