From 93240873c681a77c82414ac7099114c4be8a4e48 Mon Sep 17 00:00:00 2001 From: thoduv Date: Mon, 3 Jul 2006 10:12:48 +0000 Subject: [PATCH] BIT(n) was false. Now screen swap is fixed. --- desmume/src/bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/bits.h b/desmume/src/bits.h index 1c4097cc9..be64f65d7 100644 --- a/desmume/src/bits.h +++ b/desmume/src/bits.h @@ -1,7 +1,7 @@ #ifndef BITS_H #define BITS_H -#define BIT(n) BIT_N(1,n) +#define BIT(n) (1<<(n)) #define BIT_N(i,n) (((i)>>(n))&1) #define BIT0(i) ((i)&1)