diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fxemu.h | 22 | ||||
-rw-r--r-- | src/port.h | 1 |
2 files changed, 2 insertions, 21 deletions
diff --git a/src/fxemu.h b/src/fxemu.h index ddcf6b0..133f646 100644 --- a/src/fxemu.h +++ b/src/fxemu.h @@ -89,27 +89,7 @@ #ifndef _FXEMU_H_
#define _FXEMU_H_ 1
-/* Types used by structures and code */
-#ifndef snes9x_types_defined
-#define snes9x_types_defined
-
-typedef unsigned char uint8;
-typedef unsigned short uint16;
-typedef unsigned int uint32;
-typedef unsigned char bool8;
-typedef unsigned int bool32;
-typedef signed char int8;
-typedef short int16;
-typedef int int32;
-#endif
-
-#ifndef TRUE
-#define TRUE 1
-#endif
-
-#ifndef FALSE
-#define FALSE 0
-#endif
+#include "port.h"
/* The FxInfo_s structure, the link between the FxEmulator and the Snes Emulator */
typedef struct
@@ -62,6 +62,7 @@ I can't take it anymore, it's too convoluted. So I've commented out the entire #include <limits.h> #include <string.h> #include <stdbool.h> + //Types Defined typedef uint8_t bool8; typedef uint8_t uint8; |