aboutsummaryrefslogtreecommitdiff
path: root/src/core
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
commitc571e1237c9657e08893c9c7ef75d1b58a958b3a (patch)
tree381fcc87203aa524076b1afc18015d86daa62b7a /src/core
parent806e955740ac2d3576391fdf036c37a9800a9bba (diff)
Disable VFP3 instructions
Diffstat (limited to 'src/core')
-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 8cd6755cb3..247d379e3c 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