Update DUMB to revision 8d87ab8b9ec398cf3831b87dc969a28e278f3105

- Fixed XM sample header size handling to always assume a size of 0x28



SVN r4094 (trunk)
This commit is contained in:
Randy Heit 2013-02-08 00:42:07 +00:00
parent b7f4f498ff
commit 25542b11bd

View file

@ -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 */