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
1 changed files with 1 additions and 1 deletions

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;