summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJannik Vogel <email@jannikvogel.de>2016-05-15 16:32:42 +0200
committerJannik Vogel <email@jannikvogel.de>2016-05-16 15:00:45 +0200
commit1643786c04738d1dab9604e98cc1d815a2ca027b (patch)
tree381fcc87203aa524076b1afc18015d86daa62b7a /src
parentbd9ac246311a67f54a597748c38efb02c84c9f81 (diff)
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) {
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