parent
e1d6fca576
commit
e76c46e711
2 changed files with 17 additions and 1 deletions
|
|
@ -314,6 +314,10 @@ void DivPlatformC140::tick(bool sysTick) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (int i=0; i<4; i++) {
|
||||
bankLabel[i][0]='0'+groupBank[i];
|
||||
}
|
||||
}
|
||||
|
||||
int DivPlatformC140::dispatch(DivCommand c) {
|
||||
|
|
@ -557,6 +561,14 @@ float DivPlatformC140::getPostAmp() {
|
|||
return 3.0f;
|
||||
}
|
||||
|
||||
DivChannelPair DivPlatformC140::getPaired(int ch) {
|
||||
if (!is219) return DivChannelPair();
|
||||
if ((ch&3)==0) {
|
||||
return DivChannelPair(bankLabel[ch>>2],ch+1,ch+2,ch+3,-1,-1,-1,-1,-1);
|
||||
}
|
||||
return DivChannelPair();
|
||||
}
|
||||
|
||||
const void* DivPlatformC140::getSampleMem(int index) {
|
||||
return index == 0 ? sampleMem : NULL;
|
||||
}
|
||||
|
|
@ -736,7 +748,9 @@ int DivPlatformC140::init(DivEngine* p, int channels, int sugRate, const DivConf
|
|||
parent=p;
|
||||
dumpWrites=false;
|
||||
skipRegisterWrites=false;
|
||||
bankType=2;
|
||||
bankType=0;
|
||||
|
||||
memset(bankLabel,0,16);
|
||||
|
||||
for (int i=0; i<totalChans; i++) {
|
||||
isMuted[i]=false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue