summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-16 06:51:59 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-16 06:51:59 +0200
commitf5400080bd918e3512fd96dab06da7c05bab2fcf (patch)
tree210610c281261c1a34142771890f073f1700db64 /src
parentfixed include path (diff)
downloadyuzu-f5400080bd918e3512fd96dab06da7c05bab2fcf.tar
yuzu-f5400080bd918e3512fd96dab06da7c05bab2fcf.tar.gz
yuzu-f5400080bd918e3512fd96dab06da7c05bab2fcf.tar.bz2
yuzu-f5400080bd918e3512fd96dab06da7c05bab2fcf.tar.lz
yuzu-f5400080bd918e3512fd96dab06da7c05bab2fcf.tar.xz
yuzu-f5400080bd918e3512fd96dab06da7c05bab2fcf.tar.zst
yuzu-f5400080bd918e3512fd96dab06da7c05bab2fcf.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/interpreter/armemu.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/core/arm/interpreter/armemu.h b/src/core/arm/interpreter/armemu.h
index 7c118948a..ad4057465 100644
--- a/src/core/arm/interpreter/armemu.h
+++ b/src/core/arm/interpreter/armemu.h
@@ -420,12 +420,10 @@ extern ARMword isize;
|| (! (STATE)->is_XScale) \
|| (read_cp15_reg (15, 0, 1) & (1 << (CP))))
*/
-//#define CP_ACCESS_ALLOWED(STATE, CP) \
-// (((CP) >= 14) \
-// || (!(STATE)->is_XScale) \
-// || (xscale_cp15_cp_access_allowed(STATE, 15, CP)))
-
-#define CP_ACCESS_ALLOWED(STATE, CP) false // Disabled coprocessor shit /bunnei
+#define CP_ACCESS_ALLOWED(STATE, CP) \
+ (((CP) >= 14) \
+ || (!(STATE)->is_XScale) \
+ || (xscale_cp15_cp_access_allowed(STATE, 15, CP)))
/* Macro to rotate n right by b bits. */
#define ROTATER(n, b) (((n) >> (b)) | ((n) << (32 - (b))))