From 870967edae499b541ddb08b5b5523c44c8005002 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 18 Nov 2022 01:06:06 -0500 Subject: dla2csv.xex: only update percentage every other y. --- dla2csv.c | 8 +++++--- dla2csv.xex | Bin 10909 -> 10917 bytes 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dla2csv.c b/dla2csv.c index 98d1173..413229d 100644 --- a/dla2csv.c +++ b/dla2csv.c @@ -479,9 +479,11 @@ int convert(void) { clear_keystroke(); return 0; } - backspace2(); - printf("%02d", y * 100 / HEIGHT); /* percentage */ - fflush(stdout); + if(y & 1) { + backspace2(); + printf("%02d", y * 100 / HEIGHT); /* percentage */ + fflush(stdout); + } for(x = 0; x < BYTEWIDTH; ++x) { if(*inp) { pixx = x * 8; diff --git a/dla2csv.xex b/dla2csv.xex index fe0eb4e..7eefaa1 100644 Binary files a/dla2csv.xex and b/dla2csv.xex differ -- cgit v1.2.3