From 22ddbd9d1688aed3220122ac7a513742140ed3b6 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Mon, 15 Jan 2024 16:14:14 +0100 Subject: [WIP] Fix drawing bug on channel params --- src/assets.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/assets.c') diff --git a/src/assets.c b/src/assets.c index be4b87c..2569c9e 100644 --- a/src/assets.c +++ b/src/assets.c @@ -85,24 +85,6 @@ static const u32 note_name_sprites[] = { // Wave data. // -enum WAVES { - WAVE_SIN, - WAVE_SAW, - WAVE_SQUARE, - WAVE_MAX, -}; - -#define WAVE_SIZE 4 -#define WAVE_VARS 4 - -typedef u32 Wave[WAVE_SIZE]; -static Wave wave_active = {0}; -// static Wave wave_target = {0}; -// TODO: wave env status: OFF, ATTACK, DECAY -static int wave_env_ticks = 0; -static int wave_env_attack = 8; -static int wave_env_decay = 8; - static const Wave waves[][WAVE_VARS] = { { {0xefdebc89, 0x98cbedfe, 0x10214376, 0x67341201}, -- cgit v1.2.1