diff options
| author | 2014-05-16 00:51:59 -0400 | |
|---|---|---|
| committer | 2014-05-16 00:51:59 -0400 | |
| commit | f5400080bd918e3512fd96dab06da7c05bab2fcf (patch) | |
| tree | 210610c281261c1a34142771890f073f1700db64 /src | |
| parent | fixed include path (diff) | |
| download | yuzu-f5400080bd918e3512fd96dab06da7c05bab2fcf.tar.gz yuzu-f5400080bd918e3512fd96dab06da7c05bab2fcf.tar.xz yuzu-f5400080bd918e3512fd96dab06da7c05bab2fcf.zip | |
enabled CP_ACCESS_ALLOWED
Diffstat (limited to 'src')
| -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; | |||
| 420 | || (! (STATE)->is_XScale) \ | 420 | || (! (STATE)->is_XScale) \ |
| 421 | || (read_cp15_reg (15, 0, 1) & (1 << (CP)))) | 421 | || (read_cp15_reg (15, 0, 1) & (1 << (CP)))) |
| 422 | */ | 422 | */ |
| 423 | //#define CP_ACCESS_ALLOWED(STATE, CP) \ | 423 | #define CP_ACCESS_ALLOWED(STATE, CP) \ |
| 424 | // (((CP) >= 14) \ | 424 | (((CP) >= 14) \ |
| 425 | // || (!(STATE)->is_XScale) \ | 425 | || (!(STATE)->is_XScale) \ |
| 426 | // || (xscale_cp15_cp_access_allowed(STATE, 15, CP))) | 426 | || (xscale_cp15_cp_access_allowed(STATE, 15, CP))) |
| 427 | |||
| 428 | #define CP_ACCESS_ALLOWED(STATE, CP) false // Disabled coprocessor shit /bunnei | ||
| 429 | 427 | ||
| 430 | /* Macro to rotate n right by b bits. */ | 428 | /* Macro to rotate n right by b bits. */ |
| 431 | #define ROTATER(n, b) (((n) >> (b)) | ((n) << (32 - (b)))) | 429 | #define ROTATER(n, b) (((n) >> (b)) | ((n) << (32 - (b)))) |