mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
GUI: fix oscilloscope oversight
This commit is contained in:
parent
b253acf64b
commit
7691626952
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ void FurnaceGUI::readOsc() {
|
|||
float delta=e->oscBuf[ch][posInt&0x7fff]-e->oscBuf[ch][(posInt-1)&0x7fff];
|
||||
|
||||
for (int j=0; j<8; j++) {
|
||||
if (i-j>0) {
|
||||
if (i-j>=0) {
|
||||
oscValues[ch][i-j]+=t1[j]*-delta;
|
||||
}
|
||||
if (i+j+1<oscWidth) {
|
||||
|
|
Loading…
Reference in a new issue