Update waveEdit.cpp

This commit is contained in:
System64 2022-10-12 12:07:19 +02:00 committed by GitHub
parent a51840b801
commit 0782e3af1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;