From a2acd045bfdfcb3e1f52a25dd2b2e2b980d6b0a4 Mon Sep 17 00:00:00 2001 From: bnnm Date: Sun, 25 Mar 2018 19:59:58 +0200 Subject: [PATCH] Fix missing nxap --- src/streamfile.c | 3 ++- src/vgmstream.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/streamfile.c b/src/streamfile.c index 0e894e9e..a35cb0b6 100644 --- a/src/streamfile.c +++ b/src/streamfile.c @@ -628,8 +628,9 @@ fail: static void multifile_close(MULTIFILE_STREAMFILE *streamfile) { int i; for (i = 0; i < streamfile->inner_sfs_size; i++) { - for (i = 0; i < streamfile->inner_sfs_size; i++) + for (i = 0; i < streamfile->inner_sfs_size; i++) { close_streamfile(streamfile->inner_sfs[i]); + } } free(streamfile->inner_sfs); free(streamfile->sizes); diff --git a/src/vgmstream.c b/src/vgmstream.c index 7a022294..2081afc7 100644 --- a/src/vgmstream.c +++ b/src/vgmstream.c @@ -386,6 +386,7 @@ VGMSTREAM * (*init_vgmstream_functions[])(STREAMFILE *streamFile) = { init_vgmstream_rsd6at3p, init_vgmstream_rsd6wma, init_vgmstream_smv, + init_vgmstream_nxap, init_vgmstream_txth, /* should go at the end (lower priority) */ #ifdef VGM_USE_FFMPEG