diff options
Diffstat (limited to 'psxdev')
-rw-r--r-- | psxdev/vlc.c | 2 | ||||
-rw-r--r-- | psxdev/xadecode.h | 8 |
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 |