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 | |
parent | 8528186b39886a3b032da0d42687b7db262ed49a (diff) | |
download | stepper-76dca3d333c13d0406daa4900a9a21b48c06915b.tar.gz stepper-76dca3d333c13d0406daa4900a9a21b48c06915b.zip |
Add bank reset to first pattern for now
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/sequencer.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -27,7 +27,7 @@ INC_FLAGS := $(addprefix -I,$(INC_DIRS)) | |||
27 | INC_FLAGS += -I$(LIBGBA_SRC) | 27 | INC_FLAGS += -I$(LIBGBA_SRC) |
28 | 28 | ||
29 | # Output library names and executables. | 29 | # Output library names and executables. |
30 | TARGET := STEPPER-v1.6-dev-rc | 30 | TARGET := STEPPER-v1.6-dev-rc2 |
31 | ELF := $(BUILD_DIR)/$(TARGET).elf | 31 | ELF := $(BUILD_DIR)/$(TARGET).elf |
32 | BIN := $(BUILD_DIR)/$(TARGET).gba | 32 | BIN := $(BUILD_DIR)/$(TARGET).gba |
33 | 33 | ||
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; |