breaking the limit, part 2
all dispatches adapted to 32768 samples. sample limit unlocked. testing is required.
This commit is contained in:
parent
a4da787c1b
commit
387d9e0654
47 changed files with 430 additions and 168 deletions
|
|
@ -2905,7 +2905,7 @@ void DivEngine::delWave(int index) {
|
|||
}
|
||||
|
||||
int DivEngine::addSample() {
|
||||
if (song.sample.size()>=256) {
|
||||
if (song.sample.size()>=32768) {
|
||||
lastError=_("too many samples!");
|
||||
return -1;
|
||||
}
|
||||
|
|
@ -2928,7 +2928,7 @@ int DivEngine::addSample() {
|
|||
}
|
||||
|
||||
int DivEngine::addSamplePtr(DivSample* which) {
|
||||
if (song.sample.size()>=256) {
|
||||
if (song.sample.size()>=32768) {
|
||||
lastError=_("too many samples!");
|
||||
delete which;
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue