add deep clone warnings
This commit is contained in:
parent
423d9fa45d
commit
49d91818bb
2 changed files with 41 additions and 0 deletions
|
|
@ -5901,6 +5901,7 @@ void DivEngine::addOrder(bool duplicate, bool where) {
|
|||
void DivEngine::deepCloneOrder(bool where) {
|
||||
unsigned char order[DIV_MAX_CHANS];
|
||||
if (song.ordersLen>=0x7e) return;
|
||||
warnings="";
|
||||
isBusy.lock();
|
||||
for (int i=0; i<chans; i++) {
|
||||
order[i]=song.orders.ord[i][curOrder];
|
||||
|
|
@ -5915,6 +5916,9 @@ void DivEngine::deepCloneOrder(bool where) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (order[i]==song.orders.ord[i][curOrder]) {
|
||||
addWarning(fmt::sprintf("no free patterns in channel %d!",i));
|
||||
}
|
||||
}
|
||||
if (where) { // at the end
|
||||
for (int i=0; i<chans; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue