Skip to content

Commit

Permalink
possible channel found
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Dec 27, 2015
1 parent 5376243 commit 3aa3785
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BMS_DEC.C
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ int main(int argc, char ** argv)
if(status==BR_NORMAL);
else if(status==BR_C1)
{
// this could be the channel for the corresponding track
fseek(fp,1,SEEK_CUR);
long offset = (getc(fp)<<16) + (getc(fp)<<8) + getc(fp);
savepos=ftell(fp);
Expand All @@ -614,7 +615,7 @@ int main(int argc, char ** argv)

if(tracknum > TRACKS)
{
fprintf(stderr, "Error: BMS contains more than TRACKS tracks! Exiting.");
fprintf(stderr, "Error: BMS contains more than %d tracks! Exiting.",TRACKS);
return -1;
}

Expand Down

0 comments on commit 3aa3785

Please sign in to comment.