Explorar o código

Disable VFP3 instructions

Jannik Vogel %!s(int64=10) %!d(string=hai) anos
pai
achega
1643786c04
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/core/arm/dyncom/arm_dyncom_dec.cpp

+ 4 - 0
src/core/arm/dyncom/arm_dyncom_dec.cpp

@@ -422,6 +422,10 @@ ARMDecodeStatus DecodeARMInstruction(u32 instr, s32* idx) {
         n = arm_instruction[i].attribute_value;
         base = 0;
 
+        // 3DS has no VFP3 support
+        if (arm_instruction[i].version == ARMVFP3)
+            continue;
+
         while (n) {
             if (arm_instruction[i].content[base + 1] == 31 && arm_instruction[i].content[base] == 0) {
                 // clrex