mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-05 07:01:21 +00:00
OPLL: fix volume setting
This commit is contained in:
parent
f95d38521e
commit
0114523c96
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ int DivPlatformOPLL::dispatch(DivCommand c) {
|
||||||
if (!chan[c.chan].std.hasVol) {
|
if (!chan[c.chan].std.hasVol) {
|
||||||
chan[c.chan].outVol=c.value;
|
chan[c.chan].outVol=c.value;
|
||||||
}
|
}
|
||||||
if (c.chan>=6 || properDrums) {
|
if (c.chan>=6 && properDrums) {
|
||||||
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));
|
||||||
|
|
Loading…
Reference in a new issue