aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-18 21:04:00 +0200
committerJavier <dev.git@javispedro.com>2022-04-18 21:04:00 +0200
commit3da9d4d5eff694e7e91116a693f328c289fc82f6 (patch)
tree5de4fa0f8104723ebcc2f9e877899024144f1a48
parent513aec2aa20fdfcd862acc4189aa3226c876a051 (diff)
downloadvbados-3da9d4d5eff694e7e91116a693f328c289fc82f6.tar.gz
vbados-3da9d4d5eff694e7e91116a693f328c289fc82f6.zip
make vbsf less verbose
-rw-r--r--sftsr.c2
-rw-r--r--sftsr.h2
2 files changed, 4 insertions, 0 deletions
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)