From 05b44db876bd5be4f43da6bc9bd64edf00243c40 Mon Sep 17 00:00:00 2001 From: Wirlaburla Date: Thu, 21 Mar 2024 13:12:32 -0500 Subject: [PATCH] adjusted scope lerp --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index e4ccee1..359a88b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; -} \ No newline at end of file +}