From 7869c5b0506d725d9be11e7135c919a7200a05f4 Mon Sep 17 00:00:00 2001 From: RuRuRu <638143+rururutan@users.noreply.github.com> Date: Sun, 1 Oct 2023 20:33:15 +0900 Subject: [PATCH] STHD: Fix special value check [Dinosaur Hunting (Xbox)] The value of offset 0x0C is checked to be 0x0001, but the data for this game is 0x0000. Since this value is not referenced in decoding, it is not a problem, so it is unchecked. --- src/meta/sthd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/meta/sthd.c b/src/meta/sthd.c index e7be64c1..86ab12be 100644 --- a/src/meta/sthd.c +++ b/src/meta/sthd.c @@ -16,7 +16,6 @@ VGMSTREAM * init_vgmstream_sthd(STREAMFILE *sf) { goto fail; /* first block has special values */ if (read_u16le(0x04,sf) != 0x0800 || - read_u32le(0x0c,sf) != 0x0001 || read_u32le(0x14,sf) != 0x0000) goto fail;