GUI: comfortable wave macro height
This commit is contained in:
parent
3e311d94a2
commit
6bf6a854ef
4 changed files with 11 additions and 1 deletions
|
|
@ -4227,7 +4227,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
}
|
||||
|
||||
const char* waveLabel="Waveform";
|
||||
int waveMax=(ins->type==DIV_INS_AY || ins->type==DIV_INS_AY8930 || ins->type==DIV_INS_VERA)?3:255;
|
||||
int waveMax=(ins->type==DIV_INS_AY || ins->type==DIV_INS_AY8930 || ins->type==DIV_INS_VERA)?3:(MAX(1,e->song.waveLen-1));
|
||||
bool bitMode=false;
|
||||
if (ins->type==DIV_INS_C64 || ins->type==DIV_INS_AY || ins->type==DIV_INS_AY8930 || ins->type==DIV_INS_SAA1099) {
|
||||
bitMode=true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue