mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-15 02:57:38 +01:00
Add PASX .sgb extension [Death By Cube (X360)]
This commit is contained in:
parent
9fdf2dbf1a
commit
a90259ca50
@ -1126,7 +1126,7 @@ static const meta_info meta_info_list[] = {
|
||||
{meta_FFMPEG, "FFmpeg supported file format"},
|
||||
{meta_X360_CXS, "tri-Crescendo CXS header"},
|
||||
{meta_AKB, "Square-Enix AKB header"},
|
||||
{meta_X360_PASX, "Namco PASX header"},
|
||||
{meta_X360_PASX, "Premium Agency PASX header"},
|
||||
{meta_XMA_RIFF, "Microsoft XMA RIFF header"},
|
||||
{meta_X360_AST, "Capcom AST (X360) header"},
|
||||
{meta_WWISE_RIFF, "Audiokinetic Wwise RIFF header"},
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "meta.h"
|
||||
#include "../coding/coding.h"
|
||||
|
||||
/* PASX - from SoulCalibur II HD (X360) */
|
||||
/* PASX - from Premium Agency games [SoulCalibur II HD (X360), Death By Cube (X360)] */
|
||||
VGMSTREAM * init_vgmstream_x360_pasx(STREAMFILE *streamFile) {
|
||||
VGMSTREAM * vgmstream = NULL;
|
||||
off_t start_offset, chunk_offset;
|
||||
@ -11,7 +11,9 @@ VGMSTREAM * init_vgmstream_x360_pasx(STREAMFILE *streamFile) {
|
||||
|
||||
|
||||
/* checks */
|
||||
if ( !check_extensions(streamFile,"past"))
|
||||
/* .past: Soul Calibur II HD
|
||||
* .sgb: Death By Cube */
|
||||
if ( !check_extensions(streamFile,"past,sgb"))
|
||||
goto fail;
|
||||
if (read_32bitBE(0x00,streamFile) != 0x50415358) /* "PASX" */
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user