mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
.str .asr fixed
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@481 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
13a7cdacf5
commit
cd1e8893dd
@ -17,10 +17,9 @@ VGMSTREAM * init_vgmstream_str_asr(STREAMFILE *streamFile) {
|
||||
goto fail;
|
||||
|
||||
/* check header */
|
||||
if (read_32bitBE(0x00,streamFile) != 0x4B4E4F4E && /* "KNON" */
|
||||
read_32bitBE(0x08,streamFile) != 0x00000000 && /* "0x0" */
|
||||
read_32bitBE(0xCC,streamFile) != 0x57494920) /* "WII\0x20" */
|
||||
goto fail;
|
||||
if (read_32bitBE(0x00,streamFile) != 0x4B4E4F4E && /* "KNON" */
|
||||
read_32bitBE(0x04,streamFile) != 0x00000000 && /* "0x0" */
|
||||
read_32bitBE(0x08,streamFile) != 0x57494920) goto fail; /* "WII\0x20" */
|
||||
|
||||
|
||||
loop_flag = (read_32bitBE(0x44,streamFile)!=0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user