Commit 3174d0a

Nick Faro committed on
Mod subpattern numbers to account for instrument
commit 3174d0a64f295a8058f200cd11701fad7da1f453 parent 3ef832a
2 changed files +2−2
Modifiedcodegen.pas +1−1
@@ -600,7 +600,7 @@ begin
600 with Song.Instruments.All[I] do begin 600 with Song.Instruments.All[I] do begin
601 if SubpatternEnabled then begin 601 if SubpatternEnabled then begin
602 WriteStr(TypePrefix, Type_); 602 WriteStr(TypePrefix, Type_);
603 Write(OutFile, RenderTablePattern(TypePrefix+'SP' + IntToStr(I), Subpattern)); 603 Write(OutFile, RenderTablePattern(TypePrefix+'SP' + IntToStr(ModInst(I)), Subpattern));
604 end; 604 end;
605 end; 605 end;
606 606
ModifiedhUGEDriver +1−1
@@ -1 +1 @@
1 Subproject commit 83880547f81cf9df0cef179aff9332f1a625da80 1 Subproject commit 41a9dfd11054f0282778f3a1dbc13e3f9551174b