S3M+IT: fix reading, IT: untested support for message writing

IT: reading was off starting with global volume because of wrong read size.
S3M+IT: correctly read the number of used patterns.
IT: fixed reading of message tag and implemented writing of message tag
(not tested yet).

I also added S3M+IT test files. TODO: Unit tests using them.
This commit is contained in:
Mathias Panzenböck
2011-06-23 05:41:23 +02:00
parent e202c658f0
commit 7236ef4d0f
9 changed files with 127 additions and 22 deletions

BIN
tests/data/changed.it Normal file

Binary file not shown.

BIN
tests/data/changed.s3m Normal file

Binary file not shown.

BIN
tests/data/test.it Normal file

Binary file not shown.

BIN
tests/data/test.s3m Normal file

Binary file not shown.