diff --git a/doc/DEV.md b/doc/DEV.md index 0c35014c..cff27738 100644 --- a/doc/DEV.md +++ b/doc/DEV.md @@ -74,6 +74,7 @@ Custom STREAMFILEs wrapping base STREAMFILEs may be used for complex I/O cases: - data needs decryption (`io_streamfile`) - data must be expanded/reduced on the fly for codecs that are not easy to feed chunked data (`io_streamfile`) - data is divided in multiple physical files, but must be read as a single (`multifile_streamfile`) + Certain metas combine those streamfiles together with special layouts to support very complex cases, that would require massive changes in vgmstream to support in a cleaner (possible undesirable) way. diff --git a/src/meta/bmp_konami.c b/src/meta/bmp_konami.c index 95347d3c..32c6e49b 100644 --- a/src/meta/bmp_konami.c +++ b/src/meta/bmp_konami.c @@ -1,7 +1,7 @@ #include "meta.h" -/* BMP - from Jubeat Clan (AC) */ +/* BMP - from Jubeat series (AC) */ VGMSTREAM * init_vgmstream_bmp_konami(STREAMFILE *streamFile) { VGMSTREAM * vgmstream = NULL; off_t start_offset; diff --git a/src/meta/nub.c b/src/meta/nub.c index 581bf5c3..96e73817 100644 --- a/src/meta/nub.c +++ b/src/meta/nub.c @@ -169,6 +169,7 @@ VGMSTREAM * init_vgmstream_nub(STREAMFILE *streamFile) { vgmstream = init_vgmstream_function(temp_streamFile); if (!vgmstream) goto fail; + vgmstream->stream_size = get_streamfile_size(temp_streamFile); vgmstream->num_streams = total_subsongs; if (name[0] != '\0') strcpy(vgmstream->stream_name, name);