summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-12 07:35:45 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-12 07:35:45 +0200
commitcd7de52fea8359da3c37f661b0da0c145b9b3f7e (patch)
treead44f55a01779b531140f94a533b6362471b45c4 /src/core
parentadded a memory mapped option for HLE (diff)
downloadyuzu-cd7de52fea8359da3c37f661b0da0c145b9b3f7e.tar
yuzu-cd7de52fea8359da3c37f661b0da0c145b9b3f7e.tar.gz
yuzu-cd7de52fea8359da3c37f661b0da0c145b9b3f7e.tar.bz2
yuzu-cd7de52fea8359da3c37f661b0da0c145b9b3f7e.tar.lz
yuzu-cd7de52fea8359da3c37f661b0da0c145b9b3f7e.tar.xz
yuzu-cd7de52fea8359da3c37f661b0da0c145b9b3f7e.tar.zst
yuzu-cd7de52fea8359da3c37f661b0da0c145b9b3f7e.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/arm/interpreter/armemu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/arm/interpreter/armemu.h b/src/core/arm/interpreter/armemu.h
index 7391dea7f..7c118948a 100644
--- a/src/core/arm/interpreter/armemu.h
+++ b/src/core/arm/interpreter/armemu.h
@@ -229,6 +229,17 @@ extern ARMword isize;
} \
while (0)
+#define SETABORT_SKIPBRANCH(i, m, d) \
+ do \
+ { \
+ int SETABORT_mode = (m); \
+ \
+ ARMul_SetSPSR (state, SETABORT_mode, ARMul_GetCPSR (state)); \
+ ARMul_SetCPSR (state, ((ARMul_GetCPSR (state) & ~(EMODE | TBIT)) \
+ | (i) | SETABORT_mode)); \
+ } \
+ while (0)
+
//#ifndef MODE32
#define VECTORS 0x20
#define LEGALADDR 0x03ffffff