From 86979e44a7adacbc5d4f083093e4b1eec24cf427 Mon Sep 17 00:00:00 2001 From: cyberwarriorx Date: Sun, 16 Apr 2006 19:17:11 +0000 Subject: [PATCH] -Added BOOL type and TRUE and FALSE definitions(if they're not defined). When converting C++ -> C, please use this to convert bool variables --- desmume/src/types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/desmume/src/types.h b/desmume/src/types.h index 9903e2d54..8a0d52a04 100644 --- a/desmume/src/types.h +++ b/desmume/src/types.h @@ -70,4 +70,14 @@ typedef signed long long s64; #endif #endif +typedef int BOOL; + +#ifndef TRUE +#define TRUE 1 +#endif + +#ifndef FALSE +#define FALSE 0 +#endif + #endif