OPLL: swap top and tom
This commit is contained in:
parent
fdd714e4d9
commit
52c03f1fd6
|
@ -440,7 +440,7 @@ int DivPlatformOPLL::dispatch(DivCommand c) {
|
||||||
}
|
}
|
||||||
rWrite(0x36,drumVol[0]);
|
rWrite(0x36,drumVol[0]);
|
||||||
rWrite(0x37,drumVol[1]|(drumVol[4]<<4));
|
rWrite(0x37,drumVol[1]|(drumVol[4]<<4));
|
||||||
rWrite(0x38,drumVol[3]|(drumVol[2]<<4));
|
rWrite(0x38,drumVol[2]|(drumVol[3]<<4));
|
||||||
}
|
}
|
||||||
chan[c.chan].freqChanged=true;
|
chan[c.chan].freqChanged=true;
|
||||||
}
|
}
|
||||||
|
@ -475,7 +475,7 @@ int DivPlatformOPLL::dispatch(DivCommand c) {
|
||||||
drumVol[c.chan-6]=15-chan[c.chan].outVol;
|
drumVol[c.chan-6]=15-chan[c.chan].outVol;
|
||||||
rWrite(0x36,drumVol[0]);
|
rWrite(0x36,drumVol[0]);
|
||||||
rWrite(0x37,drumVol[1]|(drumVol[4]<<4));
|
rWrite(0x37,drumVol[1]|(drumVol[4]<<4));
|
||||||
rWrite(0x38,drumVol[3]|(drumVol[2]<<4));
|
rWrite(0x38,drumVol[2]|(drumVol[3]<<4));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (c.chan<6 || !drums) {
|
if (c.chan<6 || !drums) {
|
||||||
|
|
Loading…
Reference in New Issue