From 25542b11bdff2e16b02d5fe7c89e469d3462bf01 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 8 Feb 2013 00:42:07 +0000 Subject: [PATCH] Update DUMB to revision 8d87ab8b9ec398cf3831b87dc969a28e278f3105 - Fixed XM sample header size handling to always assume a size of 0x28 SVN r4094 (trunk) --- dumb/src/it/readxm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dumb/src/it/readxm.c b/dumb/src/it/readxm.c index 0032c5d4de..4e3dbee0b2 100644 --- a/dumb/src/it/readxm.c +++ b/dumb/src/it/readxm.c @@ -517,8 +517,10 @@ static int it_xm_read_instrument(IT_INSTRUMENT *instrument, XM_INSTRUMENT_EXTRA if (extra->n_samples) { /* sample header size */ - i = dumbfile_igetl(f); - if (!i || i > 0x28) i = 0x28; + /*i = dumbfile_igetl(f); + if (!i || i > 0x28) i = 0x28;*/ + dumbfile_skip(f, 4); + i = 0x28; extra->sample_header_size = i; /* sample map */