[Ohrrpgce] SVN: teeemcee/11221 bam2mid: Fix a couple of bugs in handling loop points

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Thu Aug 8 22:21:23 PDT 2019


teeemcee
2019-08-08 22:21:23 -0700 (Thu, 08 Aug 2019)
417
bam2mid: Fix a couple of bugs in handling loop points

Both ordinary and return-from-chorus loop points had an off-by-one error in the
file position they jumped to! This meant that at least one command was missed,
with possibly more read as garbage until the stream re-synced.

Also, stop the song if an infinite loop point is encountered. I found one song
(ARIEDUET.BAM) where it happened before the end of the file.
---
U   wip/bam2mid.bas
U   wip/whatsnew.txt


More information about the Ohrrpgce mailing list