Duty / Noise no longer appears in PN inst. config

This commit is contained in:
scratchminer 2024-01-21 06:47:38 -05:00
parent 85997e55e7
commit 5d2dade036
7 changed files with 956 additions and 0 deletions

View file

@ -6902,6 +6902,9 @@ void FurnaceGUI::drawInsEdit() {
dutyLabel="OP4 Noise Mode";
dutyMax=3;
}
if (ins->type==DIV_INS_POWER_NOISE) {
dutyMax=0;
}
const char* waveLabel="Waveform";
int waveMax=(ins->type==DIV_INS_VERA)?3:(MAX(1,e->song.waveLen-1));