GUI: add a debug window
This commit is contained in:
parent
30b012cc5e
commit
0e633ea69b
44 changed files with 490 additions and 4 deletions
|
|
@ -3716,6 +3716,16 @@ void DivEngine::setLoops(int loops) {
|
|||
remainingLoops=loops;
|
||||
}
|
||||
|
||||
DivChannelState* DivEngine::getChanState(int ch) {
|
||||
if (ch<0 || ch>=chans) return NULL;
|
||||
return &chan[ch];
|
||||
}
|
||||
|
||||
void* DivEngine::getDispatchChanState(int ch) {
|
||||
if (ch<0 || ch>=chans) return NULL;
|
||||
return disCont[dispatchOfChan[ch]].dispatch->getChanState(dispatchChanOfChan[ch]);
|
||||
}
|
||||
|
||||
void DivEngine::playSub(bool preserveDrift) {
|
||||
reset();
|
||||
if (preserveDrift && curOrder==0) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue