forked from trash80/mGB
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use synth_state struct for consistency - Fix sustain
- Loading branch information
Showing
4 changed files
with
21 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
#pragma once | ||
|
||
#include "common.h" | ||
#include <gbdk/platform.h> | ||
#include <stdbool.h> | ||
|
||
extern uint8_t noiFreq[72]; | ||
extern uint8_t noiEnv; | ||
extern uint8_t noiMode; | ||
extern bool noiSus; | ||
#define MAX_NOI_FREQ 72 | ||
|
||
extern bool noiNoteOffTrigger; | ||
extern int8_t noiOct; | ||
extern uint8_t noiFreq[72]; | ||
extern synth_state noiState; | ||
|
||
void updateNoi(void); | ||
void setPitchBendFrequencyOffsetNoise(void); |