dev80 - increase song limits
up to 256 patterns up to 256 orders
This commit is contained in:
parent
ff0c1f427f
commit
9e0e8f3345
11 changed files with 54 additions and 22 deletions
|
|
@ -41,7 +41,7 @@ DivPattern* DivChannelData::getPattern(int index, bool create) {
|
|||
}
|
||||
|
||||
void DivChannelData::wipePatterns() {
|
||||
for (int i=0; i<128; i++) {
|
||||
for (int i=0; i<256; i++) {
|
||||
if (data[i]!=NULL) {
|
||||
delete data[i];
|
||||
data[i]=NULL;
|
||||
|
|
@ -131,5 +131,5 @@ SafeReader* DivPattern::compile(int len, int fxRows) {
|
|||
|
||||
DivChannelData::DivChannelData():
|
||||
effectRows(1) {
|
||||
memset(data,0,128*sizeof(void*));
|
||||
memset(data,0,256*sizeof(void*));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue