mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-06 14:44:25 +01:00
Add extensionless xwb
This commit is contained in:
parent
2275ea2529
commit
5066dee488
@ -87,8 +87,9 @@ VGMSTREAM * init_vgmstream_xwb(STREAMFILE *streamFile) {
|
|||||||
|
|
||||||
/* checks */
|
/* checks */
|
||||||
/* .xwb: standard
|
/* .xwb: standard
|
||||||
* .xna: Touhou Makukasai ~ Fantasy Danmaku Festival (PC) */
|
* .xna: Touhou Makukasai ~ Fantasy Danmaku Festival (PC)
|
||||||
if (!check_extensions(streamFile,"xwb,xna"))
|
* (extensionless): Grabbed by the Ghoulies (Xbox) */
|
||||||
|
if (!check_extensions(streamFile,"xwb,xna,"))
|
||||||
goto fail;
|
goto fail;
|
||||||
if ((read_32bitBE(0x00,streamFile) != 0x57424E44) && /* "WBND" (LE) */
|
if ((read_32bitBE(0x00,streamFile) != 0x57424E44) && /* "WBND" (LE) */
|
||||||
(read_32bitBE(0x00,streamFile) != 0x444E4257)) /* "DNBW" (BE) */
|
(read_32bitBE(0x00,streamFile) != 0x444E4257)) /* "DNBW" (BE) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user