adjusted scope lerp
This commit is contained in:
parent
a4e3734568
commit
05b44db876
|
@ -614,7 +614,7 @@ void displayScope(xmp_module_info *mi, xmp_frame_info *fi) {
|
|||
int horzInc = 1;
|
||||
for (int s = 0; s < fi->buffer_size; s++) {
|
||||
if (nxcol >= COLS-2) break;
|
||||
int l = lerp(bufbuf[s], xbuf[s], 0.2f);
|
||||
int l = lerp(bufbuf[s], xbuf[s], 0.5f);
|
||||
int newpos = ((l+0x80) * (LINES - 4)) / 0xFF;
|
||||
horzInc = (newpos < midLine)?-1:1;
|
||||
for (int j = midLine; j != newpos; j+=horzInc) {
|
||||
|
@ -960,4 +960,4 @@ bool isPartOf(char* w1, char* w2) {
|
|||
i++;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user