mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 23:02:47 +01:00
dyncom: Remove unnecessary defines
These can simply be const vars.
This commit is contained in:
parent
0530fd2499
commit
f4921d0f9d
1 changed files with 4 additions and 4 deletions
|
@ -69,10 +69,10 @@ static void remove_exclusive(ARMul_State* state, ARMword addr){
|
||||||
}
|
}
|
||||||
|
|
||||||
static int CondPassed(ARMul_State* cpu, unsigned int cond) {
|
static int CondPassed(ARMul_State* cpu, unsigned int cond) {
|
||||||
#define NFLAG cpu->NFlag
|
const u32 NFLAG = cpu->NFlag;
|
||||||
#define ZFLAG cpu->ZFlag
|
const u32 ZFLAG = cpu->ZFlag;
|
||||||
#define CFLAG cpu->CFlag
|
const u32 CFLAG = cpu->CFlag;
|
||||||
#define VFLAG cpu->VFlag
|
const u32 VFLAG = cpu->VFlag;
|
||||||
|
|
||||||
int temp = 0;
|
int temp = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue