From d0f485b19a53ce3c7032066096305dbecba536fe Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 23 Jun 2002 17:13:59 +0000 Subject: Tralala --- psxdev/vlc.c | 2 +- psxdev/xadecode.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'psxdev') 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 -- cgit v1.2.3