From 3da9d4d5eff694e7e91116a693f328c289fc82f6 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 18 Apr 2022 21:04:00 +0200 Subject: make vbsf less verbose --- sftsr.c | 2 ++ sftsr.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sftsr.c b/sftsr.c index 933cf24..77b325c 100644 --- a/sftsr.c +++ b/sftsr.c @@ -1148,9 +1148,11 @@ static bool int2f_11_handler(union INTPACK r) return true; } +#if TRACE_CALLS dlog_print("2f al="); dlog_printx(r.h.al); dlog_endline(); +#endif // Handle special functions that target all redirectors first switch (r.h.al) { diff --git a/sftsr.h b/sftsr.h index d168d6e..f9a7b61 100644 --- a/sftsr.h +++ b/sftsr.h @@ -29,6 +29,8 @@ #define VERSION_MAJOR 0 #define VERSION_MINOR 2 +#define TRACE_CALLS 0 + #define LASTDRIVE 'Z' #define MAX_NUM_DRIVE (LASTDRIVE - 'A') #define NUM_DRIVES (MAX_NUM_DRIVE + 1) -- cgit v1.2.3