Thierry Crozat 20fb33a668 SWORD1: Fix use of uninitialized variables in PSX demo music
The music tab file in the PSX demo seems to be truncated and we
were seeking beyond the end of the file for some music (such as
the one for the menu), and then trying to read without any checks
that either the seek or read succeeded. This caused the code to
then use uninitialized variables causing random issues (such as
getting some noise). We now ignore the music id that are beyond
the end of the broken tab file.
2020-10-19 01:14:21 +01:00
..