summaryrefslogtreecommitdiff
path: root/libpcsxcore/psxcommon.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/psxcommon.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/psxcommon.h')
-rw-r--r--libpcsxcore/psxcommon.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libpcsxcore/psxcommon.h b/libpcsxcore/psxcommon.h
index a154a388..1b89d63d 100644
--- a/libpcsxcore/psxcommon.h
+++ b/libpcsxcore/psxcommon.h
@@ -25,6 +25,10 @@
#ifndef __PSXCOMMON_H__
#define __PSXCOMMON_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "config.h"
// System includes
@@ -92,7 +96,9 @@ typedef uint8_t boolean;
#endif
+extern FILE *emuLog;
extern int Log;
+
void __Log(char *fmt, ...);
typedef struct {
@@ -152,4 +158,12 @@ enum {
PSX_TYPE_PAL
}; // PSX Type
+int EmuInit();
+void EmuReset();
+void EmuShutdown();
+void EmuUpdate();
+
+#ifdef __cplusplus
+}
+#endif
#endif