mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-19 00:04:04 +01:00
Add ADS .800 extension [Gundam: The One Year War (PS2)]
This commit is contained in:
parent
c4206e705b
commit
b21d078aa6
@ -9,11 +9,12 @@
|
|||||||
|
|
||||||
|
|
||||||
static const char* extension_list[] = {
|
static const char* extension_list[] = {
|
||||||
//"", /* vgmstream can plays extensionless files too, but plugins must accept them manually */
|
//"", /* vgmstream can play extensionless files too, but plugins must accept them manually */
|
||||||
|
|
||||||
"04sw",
|
"04sw",
|
||||||
"2dx9",
|
"2dx9",
|
||||||
"2pfs",
|
"2pfs",
|
||||||
|
"800",
|
||||||
|
|
||||||
//"aac", //common, also tri-Ace's
|
//"aac", //common, also tri-Ace's
|
||||||
"aa3", //FFmpeg, not parsed (ATRAC3/ATRAC3PLUS/MP3/LPCM/WMA)
|
"aa3", //FFmpeg, not parsed (ATRAC3/ATRAC3PLUS/MP3/LPCM/WMA)
|
||||||
|
@ -18,8 +18,9 @@ VGMSTREAM * init_vgmstream_ps2_ads(STREAMFILE *streamFile) {
|
|||||||
* .ss2: demuxed videos (fake?)
|
* .ss2: demuxed videos (fake?)
|
||||||
* .pcm: Taisho Mononoke Ibunroku (PS2)
|
* .pcm: Taisho Mononoke Ibunroku (PS2)
|
||||||
* .adx: Armored Core 3 (PS2)
|
* .adx: Armored Core 3 (PS2)
|
||||||
* [no actual extension]: MotoGP (PS2) */
|
* [no actual extension]: MotoGP (PS2)
|
||||||
if (!check_extensions(streamFile, "ads,ss2,pcm,adx,"))
|
* .800: Mobile Suit Gundam: The One Year War (PS2) */
|
||||||
|
if (!check_extensions(streamFile, "ads,ss2,pcm,adx,,800"))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if (read_32bitBE(0x00,streamFile) != 0x53536864 && /* "SShd" */
|
if (read_32bitBE(0x00,streamFile) != 0x53536864 && /* "SShd" */
|
||||||
@ -197,7 +198,6 @@ VGMSTREAM * init_vgmstream_ps2_ads(STREAMFILE *streamFile) {
|
|||||||
loop_start_sample = loop_start;
|
loop_start_sample = loop_start;
|
||||||
loop_end_sample = loop_end;
|
loop_end_sample = loop_end;
|
||||||
is_loop_samples = 1;
|
is_loop_samples = 1;
|
||||||
VGM_LOG("1\n");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user