OPLL: swap top and tom

This commit is contained in:
tildearrow 2022-03-03 04:36:52 -05:00
parent fdd714e4d9
commit 52c03f1fd6
1 changed files with 2 additions and 2 deletions

View File

@ -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) {