mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
Minor tweaks
This commit is contained in:
parent
b1f03eaa6d
commit
4602db9d64
@ -74,6 +74,7 @@ Custom STREAMFILEs wrapping base STREAMFILEs may be used for complex I/O cases:
|
|||||||
- data needs decryption (`io_streamfile`)
|
- 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 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`)
|
- 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.
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "meta.h"
|
#include "meta.h"
|
||||||
|
|
||||||
|
|
||||||
/* BMP - from Jubeat Clan (AC) */
|
/* BMP - from Jubeat series (AC) */
|
||||||
VGMSTREAM * init_vgmstream_bmp_konami(STREAMFILE *streamFile) {
|
VGMSTREAM * init_vgmstream_bmp_konami(STREAMFILE *streamFile) {
|
||||||
VGMSTREAM * vgmstream = NULL;
|
VGMSTREAM * vgmstream = NULL;
|
||||||
off_t start_offset;
|
off_t start_offset;
|
||||||
|
@ -169,6 +169,7 @@ VGMSTREAM * init_vgmstream_nub(STREAMFILE *streamFile) {
|
|||||||
vgmstream = init_vgmstream_function(temp_streamFile);
|
vgmstream = init_vgmstream_function(temp_streamFile);
|
||||||
if (!vgmstream) goto fail;
|
if (!vgmstream) goto fail;
|
||||||
|
|
||||||
|
vgmstream->stream_size = get_streamfile_size(temp_streamFile);
|
||||||
vgmstream->num_streams = total_subsongs;
|
vgmstream->num_streams = total_subsongs;
|
||||||
if (name[0] != '\0')
|
if (name[0] != '\0')
|
||||||
strcpy(vgmstream->stream_name, name);
|
strcpy(vgmstream->stream_name, name);
|
||||||
|
Loading…
Reference in New Issue
Block a user