summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fxemu.h22
-rw-r--r--src/port.h1
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
diff --git a/src/port.h b/src/port.h
index 8ae3a76..3c7a2ce 100644
--- a/src/port.h
+++ b/src/port.h
@@ -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;