mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
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:
parent
b7f4f498ff
commit
25542b11bd
1 changed files with 4 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue