mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
refuse wii versions of waa/wac/wad/wam to play, now to find out how to create the coeff table.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@702 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
de6446c0c3
commit
0fb3dc818f
@ -72,6 +72,10 @@ VGMSTREAM * init_vgmstream_waa_wac_wad_wam(STREAMFILE *streamFile) {
|
||||
vgmstream->loop_start_sample = 0;
|
||||
vgmstream->loop_end_sample = (read_32bitLE(0x2A,streamFile))*14/8/channel_count;
|
||||
}
|
||||
if(read_16bitLE(0x24,streamFile)==0x00)//is a wii file with no coeff table
|
||||
{
|
||||
goto fail;
|
||||
}
|
||||
second_channel_start = (read_32bitLE(0x2A,streamFile)/2)+0x8A;
|
||||
/* Retrieveing the coef tables */
|
||||
coef1_start = 0x2E;
|
||||
|
Loading…
x
Reference in New Issue
Block a user