summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-05-05 15:25:04 +0200
committerBad Diode <bd@badd10de.dev>2021-05-05 15:25:04 +0200
commit089f9ec86e90368c391c1c89e45301310cc7725a (patch)
tree5e99a6c7550433d403cb9c57d8fb496b2a541219 /src/main.c
parente1c4894a016682aed8a0fbd3837711c6f2781876 (diff)
downloadgba-experiments-089f9ec86e90368c391c1c89e45301310cc7725a.tar.gz
gba-experiments-089f9ec86e90368c391c1c89e45301310cc7725a.zip
Add control for wave synth (channel 3)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index b93abe6..48538fb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -20,8 +20,6 @@ int main(void) {
20 // sequential. 20 // sequential.
21 DISP_CTRL = DISP_ENABLE_SPRITES | DISP_MODE_0 | DISP_BG_0; 21 DISP_CTRL = DISP_ENABLE_SPRITES | DISP_MODE_0 | DISP_BG_0;
22 22
23 init_sequencer_sprites();
24
25 // Initialize text engine. 23 // Initialize text engine.
26 // txt_init(0, COLOR_RED, 0); 24 // txt_init(0, COLOR_RED, 0);
27 25
@@ -29,10 +27,7 @@ int main(void) {
29 irq_init(); 27 irq_init();
30 irs_set(IRQ_VBLANK, irs_stub); 28 irs_set(IRQ_VBLANK, irs_stub);
31 29
32 // turn sound on 30 init_sequencer();
33 SOUND_STATUS = SOUND_ENABLE;
34 SOUND_DMG_MASTER = sound_volume(SOUND_SQUARE1 | SOUND_SQUARE2, 3);
35 SOUND_DSOUND_MASTER = SOUND_DMG100;
36 31
37 // Initialize timer. 32 // Initialize timer.
38 while(true) { 33 while(true) {