Update waveEdit.cpp
This commit is contained in:
parent
a51840b801
commit
0782e3af1d
|
@ -538,7 +538,7 @@ void FurnaceGUI::drawWaveEdit() {
|
||||||
int origData[256];
|
int origData[256];
|
||||||
// Copy original wave to temp buffer
|
// Copy original wave to temp buffer
|
||||||
// If longer than 256 samples, return
|
// If longer than 256 samples, return
|
||||||
if (wave->len >= 256)
|
if (wave->len > 256)
|
||||||
{
|
{
|
||||||
showError("ERROR : Wavetable longer than 256 samples!");
|
showError("ERROR : Wavetable longer than 256 samples!");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue