summaryrefslogtreecommitdiff
path: root/libpcsxcore/psxcommon.h
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-07 09:57:50 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-07 09:57:50 +0000
commitaaaf3199b1afd1e5f88f23ce40305a5df5455599 (patch)
tree2998019ebb042613b5cb06b12d62fefca1b11cc0 /libpcsxcore/psxcommon.h
parentcb7447b2232a6029c9411afaf55b602797b45583 (diff)
downloadpcsxr-aaaf3199b1afd1e5f88f23ce40305a5df5455599.tar.gz
more cleanups
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47556 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/psxcommon.h')
-rw-r--r--libpcsxcore/psxcommon.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/libpcsxcore/psxcommon.h b/libpcsxcore/psxcommon.h
index 1261aabd..a154a388 100644
--- a/libpcsxcore/psxcommon.h
+++ b/libpcsxcore/psxcommon.h
@@ -53,6 +53,16 @@ typedef uint32_t u32;
typedef uint64_t u64;
typedef uintptr_t uptr;
+typedef uint8_t boolean;
+
+#ifndef TRUE
+#define TRUE 1
+#endif
+
+#ifndef FALSE
+#define FALSE 0
+#endif
+
// Local includes
#include "system.h"
#include "debug.h"
@@ -119,8 +129,7 @@ typedef struct {
extern PcsxConfig Config;
-extern int StatesC;
-extern int cdOpenCase;
+extern int cdOpenCase; // FIXME: cleanup
extern int NetOpened;
#define gzfreeze(ptr, size) \