diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-16 06:51:59 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-16 06:51:59 +0200 |
commit | f5400080bd918e3512fd96dab06da7c05bab2fcf (patch) | |
tree | 210610c281261c1a34142771890f073f1700db64 | |
parent | fixed include path (diff) | |
download | yuzu-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 |
-rw-r--r-- | src/core/arm/interpreter/armemu.h | 10 |
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)))) |