Skip to content

Commit

Permalink
Fix typo in HAS_VIBRATO
Browse files Browse the repository at this point in the history
It was supposed to check whether the effect is 4 or 6, the effect
parameter is immaterial here.
  • Loading branch information
rasky committed Apr 21, 2021
1 parent 7ca53ea commit 0a3dcb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/play.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static const float multi_retrig_multiply[] = {
#define HAS_ARPEGGIO(s) ((s)->effect_type == 0 \
&& (s)->effect_param != 0)
#define HAS_VIBRATO(s) ((s)->effect_type == 4 \
|| (s)->effect_param == 6 \
|| (s)->effect_type == 6 \
|| ((s)->volume_column >> 4) == 0xB)
#define NOTE_IS_VALID(n) ((n) > 0 && (n) < 97)

Expand Down

0 comments on commit 0a3dcb2

Please sign in to comment.