bool -> BOOL (true -> TRUE and false -> FALSE too, btw)

This commit is contained in:
yabause 2006-05-12 21:53:26 +00:00
parent 4b4d7812ba
commit 8db41a8ec5
3 changed files with 11 additions and 13 deletions

View File

@ -125,8 +125,6 @@ enum Mode
SYS = 0x1F
};
extern bool execute;
union Status_Reg
{
struct
@ -170,9 +168,9 @@ typedef struct armcpu_t
u32 intVector;
u8 LDTBit; //1 : ARMv5 style 0 : non ARMv5
bool waitIRQ;
bool wIRQ;
bool wirq;
BOOL waitIRQ;
BOOL wIRQ;
BOOL wirq;
u32 (* *swi_tab)(struct armcpu_t * cpu);
@ -184,7 +182,7 @@ void armcpu_init(armcpu_t *armcpu, u32 adr);
u32 armcpu_switchMode(armcpu_t *armcpu, u8 mode);
u32 armcpu_prefetch(armcpu_t *armcpu);
u32 armcpu_exec(armcpu_t *armcpu);
bool armcpu_irqExeption(armcpu_t *armcpu);
bool armcpu_prefetchExeption(armcpu_t *armcpu);
BOOL armcpu_irqExeption(armcpu_t *armcpu);
BOOL armcpu_prefetchExeption(armcpu_t *armcpu);
#endif

View File

@ -61,10 +61,10 @@ typedef struct
} armcp15_t;
armcp15_t *armcp15_new(armcpu_t *c);
bool armcp15_dataProcess(armcp15_t *armcp15, u8 CRd, u8 CRn, u8 CRm, u8 opcode1, u8 opcode2);
bool armcp15_load(armcp15_t *armcp15, u8 CRd, u8 adr);
bool armcp15_store(armcp15_t *armcp15, u8 CRd, u8 adr);
bool armcp15_moveCP2ARM(armcp15_t *armcp15, u32 * R, u8 CRn, u8 CRm, u8 opcode1, u8 opcode2);
bool armcp15_moveARM2CP(armcp15_t *armcp15, u32 val, u8 CRn, u8 CRm, u8 opcode1, u8 opcode2);
BOOL armcp15_dataProcess(armcp15_t *armcp15, u8 CRd, u8 CRn, u8 CRm, u8 opcode1, u8 opcode2);
BOOL armcp15_load(armcp15_t *armcp15, u8 CRd, u8 adr);
BOOL armcp15_store(armcp15_t *armcp15, u8 CRd, u8 adr);
BOOL armcp15_moveCP2ARM(armcp15_t *armcp15, u32 * R, u8 CRn, u8 CRm, u8 opcode1, u8 opcode2);
BOOL armcp15_moveARM2CP(armcp15_t *armcp15, u32 val, u8 CRn, u8 CRm, u8 opcode1, u8 opcode2);
#endif /* __CP15_H__*/

View File

@ -26,7 +26,7 @@
#include "../NDSSystem.hpp"
extern NDSSystem nds;
extern bool execute;
extern BOOL execute;
extern unsigned long glock;
void refreshAll();
#endif