From bbb78fa720a2976136934e80caeb7b77c66f7437 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 7 Feb 2022 13:32:18 -0500 Subject: [PATCH] GUI: disable duty macro on Amiga instrument --- src/gui/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 02c592b16..bb0c32eb8 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -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);