From ed1734b3a1bacce9821e655a2c26dcf417c9c82b Mon Sep 17 00:00:00 2001 From: halleyscometsw Date: Thu, 11 Dec 2008 23:32:47 +0000 Subject: [PATCH] unix/data.c - update extension list src/*/Makefile.unix.am, src/Makefile - add thp src/meta/thp.c - include layout.h to avoid implicit function declaration git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@513 51a99a44-fe44-0410-b1ba-c3e57ba2b86b --- src/Makefile | 6 ++++-- src/layout/Makefile.unix.am | 1 + src/meta/Makefile.unix.am | 1 + src/meta/thp.c | 1 + unix/data.c | 14 ++++++++++++++ 5 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 8c30cfaa..87e53103 100644 --- a/src/Makefile +++ b/src/Makefile @@ -35,7 +35,8 @@ LAYOUT_OBJS=layout/ast_blocked.o \ layout/de2_blocked.o \ layout/xvas_block.o \ layout/vs_blocked.o \ - layout/emff_blocked.o + layout/emff_blocked.o \ + layout/thp_blocked.o META_OBJS=meta/adx_header.o \ meta/afc_header.o \ @@ -164,7 +165,8 @@ META_OBJS=meta/adx_header.o \ meta/dc_wav_dcs.o \ meta/wii_smp.o \ meta/ss_stream.o \ - meta/emff.o + meta/emff.o \ + meta/thp.o OBJECTS=vgmstream.o streamfile.o util.o $(CODING_OBJS) $(LAYOUT_OBJS) $(META_OBJS) diff --git a/src/layout/Makefile.unix.am b/src/layout/Makefile.unix.am index c1242316..436a419e 100644 --- a/src/layout/Makefile.unix.am +++ b/src/layout/Makefile.unix.am @@ -24,5 +24,6 @@ liblayout_la_SOURCES += de2_blocked.c liblayout_la_SOURCES += xvas_block.c liblayout_la_SOURCES += vs_blocked.c liblayout_la_SOURCES += emff_blocked.c +liblayout_la_SOURCES += thp_blocked.c EXTRA_DIST = layout.h diff --git a/src/meta/Makefile.unix.am b/src/meta/Makefile.unix.am index 36cbfd8f..53003605 100644 --- a/src/meta/Makefile.unix.am +++ b/src/meta/Makefile.unix.am @@ -131,5 +131,6 @@ libmeta_la_SOURCES += dc_wav_dcs.c libmeta_la_SOURCES += wii_smp.c libmeta_la_SOURCES += ss_stream.c libmeta_la_SOURCES += emff.c +libmeta_la_SOURCES += thp.c EXTRA_DIST = meta.h diff --git a/src/meta/thp.c b/src/meta/thp.c index 49a561e2..2cb5a724 100644 --- a/src/meta/thp.c +++ b/src/meta/thp.c @@ -1,4 +1,5 @@ #include "meta.h" +#include "../layout/layout.h" #include "../util.h" /* THP (Just play audio from .thp movie file) diff --git a/unix/data.c b/unix/data.c index 67c1557f..c0b751f4 100644 --- a/unix/data.c +++ b/unix/data.c @@ -141,6 +141,20 @@ gchar *vgmstream_exts [] = { "seg", "asr", "zwdsp", + "gca", + "spd", + "isd", + "ydsp", + "gsb", + "msvp", + "ssm", + "joe", + "vgs", + "vs", + "dcs", + "smp", + "emff", + "thp", /* terminator */ NULL };