summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jannik Vogel2016-05-15 16:32:42 +0200
committerGravatar Jannik Vogel2016-05-16 15:00:45 +0200
commit1643786c04738d1dab9604e98cc1d815a2ca027b (patch)
tree381fcc87203aa524076b1afc18015d86daa62b7a /src
parentMerge pull request #1792 from JayFoxRox/avoid-uninitialised (diff)
downloadyuzu-1643786c04738d1dab9604e98cc1d815a2ca027b.tar.gz
yuzu-1643786c04738d1dab9604e98cc1d815a2ca027b.tar.xz
yuzu-1643786c04738d1dab9604e98cc1d815a2ca027b.zip
Disable VFP3 instructions
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/dyncom/arm_dyncom_dec.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_dec.cpp b/src/core/arm/dyncom/arm_dyncom_dec.cpp
index 8cd6755cb..247d379e3 100644
--- a/src/core/arm/dyncom/arm_dyncom_dec.cpp
+++ b/src/core/arm/dyncom/arm_dyncom_dec.cpp
@@ -422,6 +422,10 @@ ARMDecodeStatus DecodeARMInstruction(u32 instr, s32* idx) {
422 n = arm_instruction[i].attribute_value; 422 n = arm_instruction[i].attribute_value;
423 base = 0; 423 base = 0;
424 424
425 // 3DS has no VFP3 support
426 if (arm_instruction[i].version == ARMVFP3)
427 continue;
428
425 while (n) { 429 while (n) {
426 if (arm_instruction[i].content[base + 1] == 31 && arm_instruction[i].content[base] == 0) { 430 if (arm_instruction[i].content[base + 1] == 31 && arm_instruction[i].content[base] == 0) {
427 // clrex 431 // clrex