فهرست منبع

Disable VFP3 instructions

Jannik Vogel 10 سال پیش
والد
کامیت
1643786c04
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  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