Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
holy crap how did i not realize how stupid i made the logic for handl…
Browse files Browse the repository at this point in the history
…ing fine volume slides?...
  • Loading branch information
RepellantMold committed Jun 15, 2024
1 parent f76c45f commit 576a31d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pattern.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,13 @@ void handle_s3m_effect(Pattern_Context* context) {
parameter = handle_effect_memory_separatenibs(context);
hinib = parameter >> 4, lownib = parameter & 0x0F;

if (hinib == 0xF) {
if (hinib == 0xF && lownib != 0) {
hinib = 0;
if (lownib >> 1)
lownib >>= 1;
else
print_warning_pattern(context, "Failed to adjust fine volume slide.");
} else if (lownib == 0xF) {
} else if (lownib == 0xF && hinib != 0) {
lownib = 0;
if (hinib >> 1)
hinib >>= 1;
Expand Down

0 comments on commit 576a31d

Please sign in to comment.