mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Merge branch 'cwav_flex' into 'master'
Accept 0x00010102 in header for CWAV This is supposedly in files from Fire Emblem Fates and Hyrule Warriors Legends. See https://hcs64.com/mboard/forum.php?showthread=45018 See merge request !1
This commit is contained in:
commit
62ba01904f
@ -46,7 +46,11 @@ static void read_rwav(struct rwav_data * rd)
|
|||||||
|
|
||||||
/* little endian, version 2 */
|
/* little endian, version 2 */
|
||||||
if ((uint32_t)read_32bitBE(rd->offset+4,rd->streamFile)!=0xFFFE4000 ||
|
if ((uint32_t)read_32bitBE(rd->offset+4,rd->streamFile)!=0xFFFE4000 ||
|
||||||
(uint32_t)read_32bitBE(rd->offset+8,rd->streamFile)!=0x00000102)
|
(
|
||||||
|
(uint32_t)read_32bitBE(rd->offset+8,rd->streamFile)!=0x00000102 &&
|
||||||
|
(uint32_t)read_32bitBE(rd->offset+8,rd->streamFile)!=0x00010102
|
||||||
|
)
|
||||||
|
)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
chunk_table_offset = rd->offset+0x18;
|
chunk_table_offset = rd->offset+0x18;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user