mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
MSM6295: enforce max vol of 8
This commit is contained in:
parent
b216fe57bf
commit
196619cf70
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ int DivPlatformMSM6295::dispatch(DivCommand c) {
|
|||
chan[c.chan].std.release();
|
||||
break;
|
||||
case DIV_CMD_VOLUME: {
|
||||
chan[c.chan].vol=c.value;
|
||||
chan[c.chan].vol=MIN(8,c.value);
|
||||
if (!chan[c.chan].std.vol.has) {
|
||||
chan[c.chan].outVol=c.value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue