mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-01 04:25:48 +01:00
Merge pull request #1103 from NicknineTheEagle/ea
EA MPF: Fixed v5 format without track checksum
This commit is contained in:
commit
1bc40bcb5a
@ -1086,7 +1086,7 @@ VGMSTREAM* init_vgmstream_ea_mpf_mus(STREAMFILE* sf) {
|
|||||||
if (!vgmstream)
|
if (!vgmstream)
|
||||||
goto fail;
|
goto fail;
|
||||||
} else {
|
} else {
|
||||||
if (version == 5 && read_u32be(0x00, sf_mus) != track_checksum)
|
if (version == 5 && track_checksum && read_u32be(0x00, sf_mus) != track_checksum)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
sound_offset *= off_mult;;
|
sound_offset *= off_mult;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user