fix some ongakukan .adp, part II

upped diff "beyond than" checks to 14 to allow some other adp file to actually work.
This commit is contained in:
modusc896d352 2024-07-25 20:03:59 -03:00
parent 3145f7ebe4
commit 3fa266364e

View File

@ -27,7 +27,7 @@ VGMSTREAM* init_vgmstream_adp_ongakukan(STREAMFILE* sf) {
expected_size = (read_u32le(0x04, sf) - 0x24);
pcm_size = data_size * 2 * sizeof(short); // * channels
diff = expected_size - pcm_size;
if (diff < 0 || diff > 2)
if (diff < 0 || diff > 14)
return NULL;
if (!is_id32be(0x08, sf, "WAVE"))