summaryrefslogtreecommitdiff
path: root/libpcsxcore/system.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/system.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/system.h')
-rw-r--r--libpcsxcore/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpcsxcore/system.h b/libpcsxcore/system.h
index 9f7159e1..c869fdf1 100644
--- a/libpcsxcore/system.h
+++ b/libpcsxcore/system.h
@@ -20,6 +20,10 @@
#ifndef __SYSTEM_H__
#define __SYSTEM_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int SysInit(); // Init mem and plugins
void SysReset(); // Resets mem
void SysPrintf(const char *fmt, ...); // Printf used by bios syscalls
@@ -32,4 +36,7 @@ void SysUpdate(); // Called on VBlank (to update i.e. pads)
void SysRunGui(); // Returns to the Gui
void SysClose(); // Close mem and plugins
+#ifdef __cplusplus
+}
+#endif
#endif