summaryrefslogtreecommitdiff
path: root/psxdev
diff options
context:
space:
mode:
authorPixel <Pixel>2002-06-23 17:13:59 +0000
committerPixel <Pixel>2002-06-23 17:13:59 +0000
commitd0f485b19a53ce3c7032066096305dbecba536fe (patch)
tree3a54b4c9bca34535e7bf42adcbef483619b37fc2 /psxdev
parentab0afb77b2a0bb9d5dd3eb27ea98c6f9f4e938c2 (diff)
Tralala
Diffstat (limited to 'psxdev')
-rw-r--r--psxdev/vlc.c2
-rw-r--r--psxdev/xadecode.h8
2 files changed, 9 insertions, 1 deletions
diff --git a/psxdev/vlc.c b/psxdev/vlc.c
index 196fa96..4ff3d06 100644
--- a/psxdev/vlc.c
+++ b/psxdev/vlc.c
@@ -428,7 +428,7 @@ static void yuv2rgb15(BLOCK *blk,Uint16 *image)
}
}
-enum {B,G,R};
+enum {R, G, B};
static void yuv2rgb24(BLOCK *blk,Uint8 image[][3])
{
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