From 0782e3af1de42293ebf2a91b32ea0304bc90f72a Mon Sep 17 00:00:00 2001 From: System64 <42580501+system64MC@users.noreply.github.com> Date: Wed, 12 Oct 2022 12:07:19 +0200 Subject: [PATCH] Update waveEdit.cpp --- src/gui/waveEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/waveEdit.cpp b/src/gui/waveEdit.cpp index 6913ae372..524fdb402 100644 --- a/src/gui/waveEdit.cpp +++ b/src/gui/waveEdit.cpp @@ -538,7 +538,7 @@ void FurnaceGUI::drawWaveEdit() { int origData[256]; // Copy original wave to temp buffer // If longer than 256 samples, return - if (wave->len >= 256) + if (wave->len > 256) { showError("ERROR : Wavetable longer than 256 samples!"); return;