Arcade: add LFO wave macro

This commit is contained in:
tildearrow 2022-02-06 02:25:32 -05:00
parent e06e316e10
commit 2ea35ef734
2 changed files with 5 additions and 0 deletions

View file

@ -251,6 +251,10 @@ void DivPlatformArcade::tick() {
}
}
if (chan[i].std.hadWave) {
rWrite(0x1b,chan[i].std.wave&3);
}
if (chan[i].std.hadEx1) {
amDepth=chan[i].std.ex1;
immWrite(0x19,amDepth);

View file

@ -1638,6 +1638,7 @@ void FurnaceGUI::drawInsEdit() {
NORMAL_MACRO(ins->std.ex1Macro,ins->std.ex1MacroLen,ins->std.ex1MacroLoop,0,127,"ex1","AM Depth",128,ins->std.ex1MacroOpen,false,NULL,false,NULL,0,0,0,NULL,uiColors[GUI_COLOR_MACRO_OTHER],mmlString[4],0,127);
NORMAL_MACRO(ins->std.ex2Macro,ins->std.ex2MacroLen,ins->std.ex2MacroLoop,0,127,"ex2","PM Depth",128,ins->std.ex2MacroOpen,false,NULL,false,NULL,0,0,0,NULL,uiColors[GUI_COLOR_MACRO_OTHER],mmlString[5],0,127);
NORMAL_MACRO(ins->std.ex3Macro,ins->std.ex3MacroLen,ins->std.ex3MacroLoop,0,255,"ex3","LFO Speed",128,ins->std.ex3MacroOpen,false,NULL,false,NULL,0,0,0,NULL,uiColors[GUI_COLOR_MACRO_OTHER],mmlString[6],0,255);
NORMAL_MACRO(ins->std.waveMacro,ins->std.waveMacroLen,ins->std.waveMacroLoop,0,3,"wave","LFO Shape",48,ins->std.waveMacroOpen,false,NULL,false,NULL,0,0,0,NULL,uiColors[GUI_COLOR_MACRO_WAVE],mmlString[7],0,3);
MACRO_END;
ImGui::EndTabItem();
}