summaryrefslogtreecommitdiff
path: root/libpcsxcore/cheat.h
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-08 01:16:38 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-08 01:16:38 +0000
commit4d39defcb59600513ff65a688c54f3d6b13ca63a (patch)
treec1b89b128f8c7f53a277a8cac28979d02357d083 /libpcsxcore/cheat.h
parentaaaf3199b1afd1e5f88f23ce40305a5df5455599 (diff)
downloadpcsxr-4d39defcb59600513ff65a688c54f3d6b13ca63a.tar.gz
more cleanups.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47580 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/cheat.h')
-rw-r--r--libpcsxcore/cheat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpcsxcore/cheat.h b/libpcsxcore/cheat.h
index 7306f70c..d54f22c3 100644
--- a/libpcsxcore/cheat.h
+++ b/libpcsxcore/cheat.h
@@ -19,6 +19,10 @@
#ifndef CHEAT_H
#define CHEAT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct {
uint32_t Addr;
uint16_t Val;
@@ -107,4 +111,7 @@ extern int NumSearchResults;
#define CHEAT_LESSTHAN16 0xD2 /* 16-bit Less Than */
#define CHEAT_GREATERTHAN16 0xD3 /* 16-bit Greater Than */
+#ifdef __cplusplus
+}
+#endif
#endif