From f29867a655e31a94e4f9b3c6da63dcacb95c6511 Mon Sep 17 00:00:00 2001 From: freq-mod Date: Sun, 12 Mar 2023 13:07:21 +0100 Subject: [PATCH] Revert "fix the legendary chiptune moment" This reverts commit c2761e4f417b8c0dfc323c9bedfbc445b3b5bb57. --- src/gui/insEdit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/insEdit.cpp b/src/gui/insEdit.cpp index 32dd44cc4..8badcf2f9 100644 --- a/src/gui/insEdit.cpp +++ b/src/gui/insEdit.cpp @@ -4420,11 +4420,11 @@ void FurnaceGUI::drawInsEdit() { } if (ImGui::InputInt("Offset##WAVEPOS",&ins->n163.wavePos,1,16)) { PARAMETER if (ins->n163.wavePos<0) ins->n163.wavePos=0; - if (ins->n163.wavePos>236) ins->n163.wavePos=236; + if (ins->n163.wavePos>255) ins->n163.wavePos=255; } if (ImGui::InputInt("Length##WAVELEN",&ins->n163.waveLen,4,16)) { PARAMETER if (ins->n163.waveLen<0) ins->n163.waveLen=0; - if (ins->n163.waveLen>240) ins->n163.waveLen=240; + if (ins->n163.waveLen>252) ins->n163.waveLen=252; ins->n163.waveLen&=0xfc; }