mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
YM2612: fix per-chan osc overflow in 276
This commit is contained in:
parent
ece7e4460a
commit
9cd609e738
1 changed files with 2 additions and 2 deletions
|
@ -183,10 +183,10 @@ void DivPlatformGenesis::acquire_nuked(short** buf, size_t len) {
|
||||||
oscBuf[i]->data[oscBuf[i]->needle++]=fm.dacdata<<7;
|
oscBuf[i]->data[oscBuf[i]->needle++]=fm.dacdata<<7;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
oscBuf[i]->data[oscBuf[i]->needle++]=fm.ch_out[i]<<(chipType==2?2:7);
|
oscBuf[i]->data[oscBuf[i]->needle++]=fm.ch_out[i]<<(chipType==2?0:7);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
oscBuf[i]->data[oscBuf[i]->needle++]=fm.ch_out[i]<<(chipType==2?2:7);
|
oscBuf[i]->data[oscBuf[i]->needle++]=fm.ch_out[i]<<(chipType==2?0:7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue