mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-01 15:56:32 -05:00
enabled CP_ACCESS_ALLOWED
This commit is contained in:
parent
68408ed9b9
commit
f5400080bd
1 changed files with 4 additions and 6 deletions
|
@ -420,12 +420,10 @@ extern ARMword isize;
|
||||||
|| (! (STATE)->is_XScale) \
|
|| (! (STATE)->is_XScale) \
|
||||||
|| (read_cp15_reg (15, 0, 1) & (1 << (CP))))
|
|| (read_cp15_reg (15, 0, 1) & (1 << (CP))))
|
||||||
*/
|
*/
|
||||||
//#define CP_ACCESS_ALLOWED(STATE, CP) \
|
#define CP_ACCESS_ALLOWED(STATE, CP) \
|
||||||
// (((CP) >= 14) \
|
(((CP) >= 14) \
|
||||||
// || (!(STATE)->is_XScale) \
|
|| (!(STATE)->is_XScale) \
|
||||||
// || (xscale_cp15_cp_access_allowed(STATE, 15, CP)))
|
|| (xscale_cp15_cp_access_allowed(STATE, 15, CP)))
|
||||||
|
|
||||||
#define CP_ACCESS_ALLOWED(STATE, CP) false // Disabled coprocessor shit /bunnei
|
|
||||||
|
|
||||||
/* Macro to rotate n right by b bits. */
|
/* Macro to rotate n right by b bits. */
|
||||||
#define ROTATER(n, b) (((n) >> (b)) | ((n) << (32 - (b))))
|
#define ROTATER(n, b) (((n) >> (b)) | ((n) << (32 - (b))))
|
||||||
|
|
Loading…
Reference in a new issue