Cleanup/doc

This commit is contained in:
bnnm 2022-08-14 12:24:10 +02:00
parent 57197d601d
commit 6d43e90332
5 changed files with 5201 additions and 5197 deletions

View File

@ -679,6 +679,8 @@ static int convert_file(cli_config* cfg) {
int32_t len_samples;
vgmstream_set_log_stdout(VGM_LOG_LEVEL_ALL);
/* for plugin testing */
if (cfg->validate_extensions) {
int valid;
@ -693,8 +695,6 @@ static int convert_file(cli_config* cfg) {
if (!valid) goto fail;
}
vgmstream_set_log_stdout(VGM_LOG_LEVEL_ALL);
/* open streamfile and pass subsong */
{
STREAMFILE* sf = open_stdio_streamfile(cfg->infilename);

File diff suppressed because it is too large Load Diff

View File

@ -101,7 +101,7 @@ static const adxkey_info adxkey8_list[] = {
{0x5f5d,0x552b,0x5507, "DATAM-KK2",0},
/* Sakura Taisen: Atsuki Chishio ni (PS2) [Sega] */
{0x645d,0x6011,0x5c29, NULL,0}, // keystring may be printf'd "%08X" + number (unlikely key: "[Seq][ADX] illegal cri or libsd status.")
{0x645d,0x6011,0x5c29, "[Seq][ADX] illegal cri or libsd status.",0}, // actual keystring (obfuscation probably)
/* Sakura Taisen Monogatari: Mysterious Paris (PS2) [Sega] */
{0x62ad,0x4b13,0x5957, "inoue4126",0},

View File

@ -83,7 +83,6 @@ VGMSTREAM* init_vgmstream_aifc(STREAMFILE* sf) {
/* checks */
if (!is_id32be(0x00,sf, "FORM"))
goto fail;
VGM_LOG("1\n");
/* .aif: common (AIFF or AIFC), .aiff: common AIFF, .aifc: common AIFC
* .laif/laiff/laifc: for plugins

View File

@ -89,16 +89,18 @@ VGMSTREAM* init_vgmstream_xwb(STREAMFILE* sf) {
/* checks */
/* .xwb: standard
* .xna: Touhou Makukasai ~ Fantasy Danmaku Festival (PC)
* (extensionless): Ikaruga (X360/PC), Grabbed by the Ghoulies (Xbox) */
if (!check_extensions(sf,"xwb,xna,"))
goto fail;
if ((read_u32be(0x00,sf) != 0x57424E44) && /* "WBND" (LE) */
(read_u32be(0x00,sf) != 0x444E4257)) /* "DNBW" (BE) */
if (!is_id32be(0x00,sf, "WBND") &&
!is_id32le(0x00,sf, "WBND")) /* X360 */
goto fail;
xwb.little_endian = read_u32be(0x00,sf) == 0x57424E44; /* WBND */
/* .xwb: standard
* .xna: Touhou Makukasai ~ Fantasy Danmaku Festival (PC)
* (extensionless): Ikaruga (X360/PC), Grabbed by the Ghoulies (Xbox)
* .bd: Fatal Frame 2 (Xbox) */
if (!check_extensions(sf,"xwb,xna,bd"))
goto fail;
xwb.little_endian = is_id32be(0x00,sf, "WBND"); /* Xbox/PC */
if (xwb.little_endian) {
read_u32 = read_u32le;
read_s32 = read_s32le;