From 3a9273538fe9098d2555b2d9a7870498f29c4a40 Mon Sep 17 00:00:00 2001 From: bnnm Date: Sun, 20 Jan 2019 00:42:05 +0100 Subject: [PATCH] Fix type 04 .xnb [Scare Me (XBLIG)] --- src/meta/xnb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/meta/xnb.c b/src/meta/xnb.c index 3e2191f0..2ca78366 100644 --- a/src/meta/xnb.c +++ b/src/meta/xnb.c @@ -22,7 +22,8 @@ VGMSTREAM * init_vgmstream_xnb(STREAMFILE *streamFile) { platform = read_8bit(0x03,streamFile); big_endian = (platform == 'x'); - if (read_8bit(0x04,streamFile) != 0x05) /* XNA 4.0 version only */ + if (read_8bit(0x04,streamFile) != 0x04 && /* XNA 3.0? found on Scare Me (XBLIG), no notable diffs */ + read_8bit(0x04,streamFile) != 0x05) /* XNA 4.0 version */ goto fail; flags = read_8bit(0x05,streamFile);