diff --git a/src/main.cpp b/src/main.cpp index f91326d..94318ac 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -643,17 +643,17 @@ void displayScope(xmp_module_info *mi, xmp_frame_info *fi) { for (int v = 0; v < percol; v++) { colsum += xbuf[(s*percol)+v]; } - int l = lerp(bufbuf[s], (colsum / percol)*2, 0.8f); + int l = (colsum / percol)*2; if (l >= 0x80) l = 0x80; else if (l <= -0x80) l = -0x80; int r = (1.0*(l+0x80)/0xFF)*(LINES-4); - for (int j = l; j != bufbuf[s]; j+=(bufbuf[s]>l?1:-1)) { + for (int j = 0; j != l; j+=(l>0?1:-1)) { wmove(dis, (1.0*(j+0x80)/0xFF)*(LINES-4), s); - waddch(dis, '|'); + waddch(dis, '#'); } wmove(dis, r, s); - waddch(dis, '+'); + waddch(dis, '='); bufbuf[s] = l; }