Commited Cyrille Bagard patch to SWAP macro
This commit is contained in:
parent
f1f3c38c42
commit
15d890bcd3
|
@ -29,9 +29,13 @@
|
|||
armcpu_t NDS_ARM7;
|
||||
armcpu_t NDS_ARM9;
|
||||
|
||||
#define SWAP(a, b, c) c=a;\
|
||||
#define SWAP(a, b, c) do \
|
||||
{ \
|
||||
c=a; \
|
||||
a=b; \
|
||||
b=c;
|
||||
b=c; \
|
||||
} \
|
||||
while(0)
|
||||
|
||||
int armcpu_new(armcpu_t *armcpu, u32 id)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue