From d7d15e6bdb74e2266f8cab2ecbd39153d23e0f7e Mon Sep 17 00:00:00 2001 From: NicknineTheEagle Date: Thu, 22 Sep 2022 09:51:21 +0300 Subject: [PATCH 1/2] Doc --- src/layout/blocked_ubi_sce.c | 2 +- src/meta/esf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/blocked_ubi_sce.c b/src/layout/blocked_ubi_sce.c index 318438ab..3615b424 100644 --- a/src/layout/blocked_ubi_sce.c +++ b/src/layout/blocked_ubi_sce.c @@ -45,7 +45,7 @@ void block_update_ubi_sce(off_t block_offset, VGMSTREAM* vgmstream) { /* First step is always 0x500, not sure if it's a bug or a feature but the game just takes it as is and * ends up reading 0 from out-of-bounds memory area which causes a pop at the start. Yikes. - * It gets clampled later so the rest of the sound plays ok. + * It gets clamped later so the rest of the sound plays ok. * We put 89 here as our special index which contains 0 to simulate this. */ if (vgmstream->ch[i].adpcm_step_index == 0x500) { diff --git a/src/meta/esf.c b/src/meta/esf.c index 1ce2294b..d3e728f6 100644 --- a/src/meta/esf.c +++ b/src/meta/esf.c @@ -8,7 +8,7 @@ VGMSTREAM* init_vgmstream_esf(STREAMFILE* sf) { uint8_t version; off_t start_offset; int loop_flag = 0, bps_flag = 0, hq_flag = 0, codec_flag = 0, - sample_rate = 0, channels, bps; + sample_rate, channels, bps; /* checks */ if (!is_id32be(0x00, sf, "ESF\x03") && From b6d5e590eb7fd67509684c07364b030c4ee6019a Mon Sep 17 00:00:00 2001 From: NicknineTheEagle Date: Thu, 22 Sep 2022 10:00:40 +0300 Subject: [PATCH 2/2] Added .vca and .vcb extensions [Pac-Man World (PS1)] --- src/formats.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/formats.c b/src/formats.c index f1e9269f..97c88ea8 100644 --- a/src/formats.c +++ b/src/formats.c @@ -574,6 +574,8 @@ static const char* extension_list[] = { "vb", //txth/reserved [Tantei Jinguji Saburo: Mikan no Rupo (PS1)] "vbk", "vbx", //txth/reserved [THE Taxi 2 (PS2)] + "vca", //txth/reserved [Pac-Man World (PS1)] + "vcb", //txth/reserved [Pac-Man World (PS1)] "vds", "vdm", "vgi", //txth/reserved [Time Crisis II (PS2)]