Schism Tracker
changeset 2841:fdcb72459b48
doip
| author | Storlek <storlek@rigelseven.com> |
|---|---|
| date | Sat Mar 26 11:59:23 2011 -0400 (13 months ago) |
| parents | a3e06cdbeb13 |
| children | a949fddc6e1d |
| files | fmt/s3m.c |
line diff
1.1 --- a/fmt/s3m.c Sat Mar 26 11:57:04 2011 -0400 1.2 +++ b/fmt/s3m.c Sat Mar 26 11:59:23 2011 -0400 1.3 @@ -126,7 +126,11 @@ 1.4 // In the case of invalid data, ST3 uses the speed/tempo value that's set in the player prior to 1.5 // loading the song, but that's just crazy. 1.6 song->initial_speed = slurp_getc(fp) ?: 6; 1.7 - song->initial_tempo = slurp_getc(fp) ?: 125; 1.8 + song->initial_tempo = slurp_getc(fp); 1.9 + if (song->initial_tempo <= 32) { 1.10 + // (Yes, 32 is ignored by Scream Tracker.) 1.11 + song->initial_tempo = 125; 1.12 + } 1.13 song->mixing_volume = slurp_getc(fp); 1.14 if (song->mixing_volume & 0x80) { 1.15 song->mixing_volume ^= 0x80;
