diff options
author | B. Watson <urchlay@slackware.uk> | 2022-11-18 01:06:06 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2022-11-18 01:06:06 -0500 |
commit | 870967edae499b541ddb08b5b5523c44c8005002 (patch) | |
tree | 8f11995797aa69ed29f7ebd49d59ec91644645d8 | |
parent | 27f092fa8d347a31d311418bb8604cf04673bffc (diff) | |
download | dla-asm-870967edae499b541ddb08b5b5523c44c8005002.tar.gz |
dla2csv.xex: only update percentage every other y.
-rw-r--r-- | dla2csv.c | 8 | ||||
-rw-r--r-- | dla2csv.xex | bin | 10909 -> 10917 bytes |
2 files changed, 5 insertions, 3 deletions
@@ -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 Binary files differindex fe0eb4e..7eefaa1 100644 --- a/dla2csv.xex +++ b/dla2csv.xex |