PowerNoise: and now implement it

This commit is contained in:
tildearrow 2024-01-25 12:49:46 -05:00
parent 3548226e46
commit bf3353ebb8
3 changed files with 18 additions and 1 deletions

View file

@ -7295,6 +7295,18 @@ void FurnaceGUI::drawInsEdit() {
drawMacros(macroList,macroEditStateMacros);
ImGui::EndTabItem();
}
if (ins->type==DIV_INS_POWERNOISE) {
if (ImGui::BeginTabItem("PowerNoise")) {
int pnOctave=ins->powernoise.octave;
if (ImGui::InputInt("Octave offset",&pnOctave,1,4)) { PARAMETER
if (pnOctave<0) pnOctave=0;
if (pnOctave>15) pnOctave=15;
ins->powernoise.octave=pnOctave;
}
ImGui::Text("go to Macros for other parameters.");
ImGui::EndTabItem();
}
}
if (ins->type==DIV_INS_NES ||
ins->type==DIV_INS_AY ||
ins->type==DIV_INS_AY8930 ||