GUI: ability to add/del effect cols and EExx value
This commit is contained in:
parent
969d673e0e
commit
7f3885d2b1
5 changed files with 57 additions and 4 deletions
|
|
@ -1408,6 +1408,7 @@ void DivEngine::play() {
|
|||
void DivEngine::stop() {
|
||||
isBusy.lock();
|
||||
playing=false;
|
||||
extValuePresent=false;
|
||||
isBusy.unlock();
|
||||
}
|
||||
|
||||
|
|
@ -1417,6 +1418,8 @@ void DivEngine::reset() {
|
|||
chan[i].volMax=(dispatch->dispatch(DivCommand(DIV_CMD_GET_VOLMAX,i))<<8)|0xff;
|
||||
chan[i].volume=chan[i].volMax;
|
||||
}
|
||||
extValue=0;
|
||||
extValuePresent=0;
|
||||
dispatch->reset();
|
||||
}
|
||||
|
||||
|
|
@ -1442,6 +1445,14 @@ int DivEngine::getRow() {
|
|||
return curRow;
|
||||
}
|
||||
|
||||
bool DivEngine::hasExtValue() {
|
||||
return extValuePresent;
|
||||
}
|
||||
|
||||
unsigned char DivEngine::getExtValue() {
|
||||
return extValue;
|
||||
}
|
||||
|
||||
bool DivEngine::isPlaying() {
|
||||
return playing;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue