mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 08:23:01 +00:00
fix a tiny TL misbehavior
This commit is contained in:
parent
ba8c6d8169
commit
b34321b556
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ int DivPlatformGenesis::dispatch(DivCommand c) {
|
||||||
unsigned short baseAddr=chanOffs[c.chan]|opOffs[i];
|
unsigned short baseAddr=chanOffs[c.chan]|opOffs[i];
|
||||||
DivInstrumentFM::Operator op=ins->fm.op[i];
|
DivInstrumentFM::Operator op=ins->fm.op[i];
|
||||||
if (isOutput[ins->fm.alg][i]) {
|
if (isOutput[ins->fm.alg][i]) {
|
||||||
if (!chan[c.chan].active) {
|
if (!chan[c.chan].active || chan[c.chan].insChanged) {
|
||||||
rWrite(baseAddr+0x40,127-(((127-op.tl)*(chan[c.chan].vol&0x7f))/127));
|
rWrite(baseAddr+0x40,127-(((127-op.tl)*(chan[c.chan].vol&0x7f))/127));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue