mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
C219: looooooool
This commit is contained in:
parent
23a70381c6
commit
4e3de466ce
1 changed files with 11 additions and 11 deletions
|
@ -237,17 +237,17 @@ void DivPlatformC140::tick(bool sysTick) {
|
|||
if (is219) {
|
||||
if (groupBank[i>>2]!=bank) {
|
||||
groupBank[i>>2]=bank;
|
||||
}
|
||||
rWrite(0x1f1+(((3+(i>>2))&3)<<1),groupBank[i>>2]);
|
||||
// shut everyone else up
|
||||
for (int j=0; j<4; j++) {
|
||||
int ch=(i&(~3))|j;
|
||||
if (chan[ch].active && (i&3)!=j) {
|
||||
chan[ch].sample=-1;
|
||||
chan[ch].active=false;
|
||||
chan[ch].keyOff=true;
|
||||
chan[ch].macroInit(NULL);
|
||||
rWrite(0x05+(ch<<4),ctrl);
|
||||
rWrite(0x1f1+(((3+(i>>2))&3)<<1),groupBank[i>>2]);
|
||||
// shut everyone else up
|
||||
for (int j=0; j<4; j++) {
|
||||
int ch=(i&(~3))|j;
|
||||
if (chan[ch].active && (i&3)!=j) {
|
||||
chan[ch].sample=-1;
|
||||
chan[ch].active=false;
|
||||
chan[ch].keyOff=true;
|
||||
chan[ch].macroInit(NULL);
|
||||
rWrite(0x05+(ch<<4),ctrl);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue