GUI: disable duty macro on Amiga instrument

This commit is contained in:
tildearrow 2022-02-07 13:32:18 -05:00
parent 97a9be0581
commit bbb78fa720

View file

@ -1848,7 +1848,7 @@ void FurnaceGUI::drawInsEdit() {
if (ins->type==DIV_INS_AY8930) {
dutyMax=255;
}
if (ins->type==DIV_INS_TIA || ins->type==DIV_INS_PCE) {
if (ins->type==DIV_INS_TIA || ins->type==DIV_INS_PCE || ins->type==DIV_INS_AMIGA) {
dutyMax=0;
}
bool dutyIsRel=(ins->type==DIV_INS_C64 && !ins->c64.dutyIsAbs);