Skip to content

Update sound map reading to cope with customs#1314

Merged
chreden merged 1 commit intomasterfrom
issue/1313
Nov 21, 2024
Merged

Update sound map reading to cope with customs#1314
chreden merged 1 commit intomasterfrom
issue/1313

Conversation

@chreden
Copy link
Owner

@chreden chreden commented Nov 21, 2024

Some customs can have extra sound map entries.
Change sound map reading to look for the end of the meaningful data - this seems to work for all official levels too.
This checks uint32s and if the value is >= 65535 (there is data in the next two uint16s) treats that as part of the sound map.
Closes #1313

Some customs can have extra sound map entries.
Change sound map reading to look for the end of the meaningful data - this seems to work for all official levels too.
@chreden chreden added this to the v2.7.1 milestone Nov 21, 2024
@chreden chreden requested review from lahm86 and makotocchi November 21, 2024 17:08
@chreden chreden self-assigned this Nov 21, 2024
@chreden chreden merged commit a955a10 into master Nov 21, 2024
@chreden chreden deleted the issue/1313 branch November 21, 2024 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some customs have extra sound map entries

2 participants