mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Flat Layout for NPSF mono files
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@707 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
6ce63abf2e
commit
adf4677894
@ -43,10 +43,14 @@ VGMSTREAM * init_vgmstream_ps2_npsf(STREAMFILE *streamFile) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
vgmstream->interleave_block_size = read_32bitLE(0x04,streamFile)/2;
|
vgmstream->interleave_block_size = read_32bitLE(0x04,streamFile)/2;
|
||||||
vgmstream->layout_type = layout_interleave;
|
|
||||||
vgmstream->meta_type = meta_PS2_NPSF;
|
vgmstream->meta_type = meta_PS2_NPSF;
|
||||||
|
start_offset = (off_t)read_32bitLE(0x10,streamFile);
|
||||||
|
|
||||||
start_offset = (off_t)read_32bitLE(0x10,streamFile);
|
if (vgmstream->channels == 1) {
|
||||||
|
vgmstream->layout_type = layout_none;
|
||||||
|
} else {
|
||||||
|
vgmstream->layout_type = layout_interleave;
|
||||||
|
}
|
||||||
|
|
||||||
/* open the file for reading by each channel */
|
/* open the file for reading by each channel */
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user