Merge pull request #788 from NicknineTheEagle/ea

EA Harmony: Fixed RAM sounds
This commit is contained in:
NicknineTheEagle 2020-12-17 22:53:55 +03:00 committed by GitHub
commit 3c0732c88f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -961,7 +961,8 @@ VGMSTREAM * init_vgmstream_ea_sbr_harmony(STREAMFILE *sf) {
if (!is_streamed) { if (!is_streamed) {
/* RAM asset */ /* RAM asset */
if (read_u32be(data_offset, sf) != 0x64617461) /* "data" */ if (read_u32be(data_offset, sf) != 0x64617461 && /* "data" */
read_u32be(data_offset, sf) != 0x44415441) /* "DATA" */
goto fail; goto fail;
sf_data = sf; sf_data = sf;