diff options
author | Bad Diode <bd@badd10de.dev> | 2023-08-02 20:50:34 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2023-08-02 20:50:34 +0200 |
commit | 76dca3d333c13d0406daa4900a9a21b48c06915b (patch) | |
tree | 79e9d806a60b02b4da5ab803b200f92fa77e70e9 /src/sequencer.c | |
parent | 8528186b39886a3b032da0d42687b7db262ed49a (diff) | |
download | stepper-76dca3d333c13d0406daa4900a9a21b48c06915b.tar.gz stepper-76dca3d333c13d0406daa4900a9a21b48c06915b.zip |
Add bank reset to first pattern for now
Diffstat (limited to 'src/sequencer.c')
-rw-r--r-- | src/sequencer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sequencer.c b/src/sequencer.c index 6da0a9f..18c9b20 100644 --- a/src/sequencer.c +++ b/src/sequencer.c | |||
@@ -549,6 +549,8 @@ select_bank(int i) { | |||
549 | // TODO: queue bank if we are currently playing? | 549 | // TODO: queue bank if we are currently playing? |
550 | chain.current = 15; | 550 | chain.current = 15; |
551 | chain.current = find_next_pattern(); | 551 | chain.current = find_next_pattern(); |
552 | current_pattern = 0; | ||
553 | next_pattern = 0; | ||
552 | clipboard.type = CLIP_EMPTY; | 554 | clipboard.type = CLIP_EMPTY; |
553 | save_bank(current_bank); | 555 | save_bank(current_bank); |
554 | metadata.current_pattern = current_pattern; | 556 | metadata.current_pattern = current_pattern; |