GBA: Fix build
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1153 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
59579cb66f
commit
1a6a4d2f9d
|
@ -966,6 +966,7 @@ static void count(u32 opcode, int cond_res)
|
||||||
#define OP_RSB \
|
#define OP_RSB \
|
||||||
u32 lhs = value; \
|
u32 lhs = value; \
|
||||||
u32 rhs = reg[(opcode>>16)&15].I; \
|
u32 rhs = reg[(opcode>>16)&15].I; \
|
||||||
|
u32 res = lhs - rhs; \
|
||||||
reg[dest].I = res;
|
reg[dest].I = res;
|
||||||
#endif
|
#endif
|
||||||
#ifndef OP_RSBS
|
#ifndef OP_RSBS
|
||||||
|
@ -2959,4 +2960,4 @@ int armExecute()
|
||||||
} while (cpuTotalTicks<cpuNextEvent && armState && !holdState && !SWITicks);
|
} while (cpuTotalTicks<cpuNextEvent && armState && !holdState && !SWITicks);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue