Skip to content

Commit

Permalink
do you mean hot or warm
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed May 29, 2020
1 parent 53482f9 commit 4773efc
Show file tree
Hide file tree
Showing 28 changed files with 472 additions and 8,418 deletions.
2 changes: 1 addition & 1 deletion .clang-format
@@ -1,2 +1,2 @@
UseTab: ForIndentation
UseTab: Never
BreakBeforeBraces: Attach
5 changes: 2 additions & 3 deletions .gitignore
@@ -1,4 +1,3 @@
arm7/build
arm9/build
*.arm7
*.elf
*.elf
build/
3 changes: 3 additions & 0 deletions .gitignore.ZILESAVE
@@ -0,0 +1,3 @@
build
*.arm7
*.elf
Binary file modified prettychips.arm9
Binary file not shown.
Binary file modified prettychips.nds
Binary file not shown.
3 changes: 2 additions & 1 deletion source/adsr.c
Expand Up @@ -21,6 +21,7 @@

#include "adsr.h"
#include <math.h>
#include <nds.h>

void initADSR(ADSR *ptr) {
resetADSR(ptr);
Expand Down Expand Up @@ -124,7 +125,7 @@ int getState(ADSR *ptr) { return ptr->state; }

void resetADSR(ADSR *ptr) {
ptr->gate = 0;
ptr->state = env_attack;
ptr->state = env_idle;
ptr->output = 0.0;
}

Expand Down
4 changes: 0 additions & 4 deletions source/adsr.h
Expand Up @@ -18,9 +18,6 @@
// purposes, free or commercial.
//

#ifndef ADRS_h
#define ADRS_h

enum envState {
env_idle = 0,
env_attack,
Expand Down Expand Up @@ -62,4 +59,3 @@ void setTargetRatioA(ADSR *ptr, float targetRatio);
void setTargetRatioDR(ADSR *ptr, float targetRatio);
void resetADSR(ADSR *ptr);
void initADSR(ADSR *ptr);
#endif
222 changes: 0 additions & 222 deletions source/extras.c

This file was deleted.

41 changes: 0 additions & 41 deletions source/extras.h

This file was deleted.

2 changes: 0 additions & 2 deletions source/globals.c

This file was deleted.

69 changes: 0 additions & 69 deletions source/globals.h

This file was deleted.

0 comments on commit 4773efc

Please sign in to comment.