Skip to content

Commit

Permalink
Minor QoL
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagamma committed Aug 23, 2023
1 parent 667ab9a commit 3f5e3f3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/edinstr.pas
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ procedure Loop;
else
begin
case KBInput.CharCode of
'+':
'+', '=':
begin
if TestNote.Octave <= ADLIB_MAX_OCTAVE - 1 then
begin
Expand Down Expand Up @@ -644,7 +644,7 @@ procedure Loop;
WriteText(77, 22, $0F, ADLIB_NOTESYM_TABLE[TestNote.Note]);
WriteText(79, 22, $0F, S);
end;
'<':
'<', ',':
begin
if CurInstrPos > 0 then
begin
Expand All @@ -654,7 +654,7 @@ procedure Loop;
RenderInstrInfo;
end;
end;
'>':
'>', '.':
begin
if CurInstrPos < High(NepperRec.Instruments) then
begin
Expand Down
6 changes: 3 additions & 3 deletions src/edpattern.pas
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ procedure LoopEditPattern;
end
else
case KBInput.CharCode of
'+':
'+', '=':
begin
if CurPatternIndex < High(Formats.Patterns) then
begin
Expand All @@ -827,7 +827,7 @@ procedure LoopEditPattern;
RenderPatternInfo;
end;
end;
'<':
'<', ',':
begin
if CurInstrIndex > 0 then
begin
Expand All @@ -836,7 +836,7 @@ procedure LoopEditPattern;
Adlib.SetInstrument(CurChannel, @NepperRec.Instruments[CurInstrIndex]);
end;
end;
'>':
'>', '.':
begin
if CurInstrIndex < 31 then
begin
Expand Down
4 changes: 2 additions & 2 deletions src/edsong.pas
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ procedure LoopEditSheet;
NepperRec.Orders[PatternIndex] := SONG_REPEAT;
WriteText(10 + (PatternIndex - PatternAnchor) * 3, 7, $0F, 'R', 2);
end;
'<':
'<', ',':
begin
if NepperRec.ChannelCount > 1 then
begin
Expand All @@ -266,7 +266,7 @@ procedure LoopEditSheet;
EdPattern.RenderPatternInfo;
end;
end;
'>':
'>', '.':
begin
if NepperRec.ChannelCount < MAX_CHANNELS then
begin
Expand Down

0 comments on commit 3f5e3f3

Please sign in to comment.