From b97479a9d71fee7e9f00afef243d11617ba2c3d1 Mon Sep 17 00:00:00 2001 From: halleyscometsw Date: Tue, 13 May 2008 12:18:24 +0000 Subject: [PATCH] hook exst into the rest of vgmstream git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@113 51a99a44-fe44-0410-b1ba-c3e57ba2b86b --- src/Makefile | 3 ++- src/meta/meta.h | 2 ++ src/meta/ps2_exst.c | 2 +- src/vgmstream.c | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 5682b398..84bb2eed 100644 --- a/src/Makefile +++ b/src/Makefile @@ -33,7 +33,8 @@ META_OBJS=meta/adx_header.o \ meta/rwsd.o \ meta/psx_cdxa.o \ meta/ps2_rxw.o \ - meta/ps2_int.o + meta/ps2_int.o \ + meta/ps2_exst.o OBJECTS=vgmstream.o streamfile.o util.o $(CODING_OBJS) $(LAYOUT_OBJS) $(META_OBJS) diff --git a/src/meta/meta.h b/src/meta/meta.h index fe34e14b..919154fc 100644 --- a/src/meta/meta.h +++ b/src/meta/meta.h @@ -43,4 +43,6 @@ VGMSTREAM * init_vgmstream_ps2_rxw(const char * const filename); VGMSTREAM * init_vgmstream_ps2_int(const char * const filename); +VGMSTREAM * init_vgmstream_ps2_exst(const char * const filename); + #endif diff --git a/src/meta/ps2_exst.c b/src/meta/ps2_exst.c index ecf26e9b..4a59c825 100644 --- a/src/meta/ps2_exst.c +++ b/src/meta/ps2_exst.c @@ -14,7 +14,7 @@ 2008-05-13 - Fastelbja : First version ... */ -VGMSTREAM * init_vgmstream_ps2_ads(const char * const filename) { +VGMSTREAM * init_vgmstream_ps2_exst(const char * const filename) { VGMSTREAM * vgmstream = NULL; STREAMFILE * infile = NULL; diff --git a/src/vgmstream.c b/src/vgmstream.c index 550c6a7e..b8f56972 100644 --- a/src/vgmstream.c +++ b/src/vgmstream.c @@ -15,7 +15,7 @@ * List of functions that will recognize files. These should correspond pretty * directly to the metadata types */ -#define INIT_VGMSTREAM_FCNS 20 +#define INIT_VGMSTREAM_FCNS 21 VGMSTREAM * (*init_vgmstream_fcns[INIT_VGMSTREAM_FCNS])(const char * const) = { init_vgmstream_adx, /* 0 */ init_vgmstream_brstm, /* 1 */ @@ -37,6 +37,7 @@ VGMSTREAM * (*init_vgmstream_fcns[INIT_VGMSTREAM_FCNS])(const char * const) = { init_vgmstream_ps2_rxw, /* 17 */ init_vgmstream_ps2_int, /* 18 */ init_vgmstream_ngc_dsp_stm, /* 19 */ + init_vgmstream_ps2_exst, /* 20 */ };