summaryrefslogtreecommitdiff
path: root/psxdev/xadecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'psxdev/xadecode.h')
-rw-r--r--psxdev/xadecode.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/psxdev/xadecode.h b/psxdev/xadecode.h
index 025d36a..b886285 100644
--- a/psxdev/xadecode.h
+++ b/psxdev/xadecode.h
@@ -61,6 +61,10 @@ typedef unsigned short WORD;
typedef long FXD;
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
long decodeSoundSect(SoundSector *ssct, char *wav);
long decodeSoundSect1(SoundSector *ssct, char *wav);
long convXaToWave(char *adp, char *wav, int cn, int fn_s, int fn_e);
@@ -81,4 +85,8 @@ char xahalfhz(SoundSector *ss);
FXD FXD_FixMul(FXD a, FXD b);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif