diff options
author | twinaphex | 2016-08-05 23:59:30 +0200 |
---|---|---|
committer | twinaphex | 2016-08-05 23:59:30 +0200 |
commit | f2054c2033d86a4d736285d1cbce229c7ab4ae7a (patch) | |
tree | d10780ea342fce4a42546ad0cbb2a7c4ffeea8cf | |
parent | fc73f3e553c60e8fe8ca05179767dcfeded1b043 (diff) | |
download | snes9x2002-f2054c2033d86a4d736285d1cbce229c7ab4ae7a.tar.gz snes9x2002-f2054c2033d86a4d736285d1cbce229c7ab4ae7a.tar.bz2 snes9x2002-f2054c2033d86a4d736285d1cbce229c7ab4ae7a.zip |
More cleanups
-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; |