summaryrefslogtreecommitdiff
path: root/src/format/image/dbg.c
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-01-14 14:17:58 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-01-14 14:17:58 +1100
commitfbf406c34adb0a65924f15a1f0e5142e695b36ad (patch)
tree846b7e135dafae9bf8790f86d66bf5201a7f22fb /src/format/image/dbg.c
parentd33aeddbfb1510c7a1846067c5512cfb942ccb17 (diff)
feat(dbg): Add tinyff debug splash message
Diffstat (limited to 'src/format/image/dbg.c')
-rw-r--r--src/format/image/dbg.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/format/image/dbg.c b/src/format/image/dbg.c
deleted file mode 100644
index 56cb53b..0000000
--- a/src/format/image/dbg.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "dbg.h"
-
-ff_result ff_set_debug_stream(FILE *stream)
-{
- intff_debug_stream = stream;
- intff_debug_enabled = (stream != NULL);
- return FF_RESULT_OK;
-}
-
-ff_result ff_dprintf(const char *format, ...)
-{
- if (!intff_debug_enabled || !intff_debug_stream) return FF_RESULT_WARN_DEBUG_DISABLED;
-
- va_list args;
- va_start(args, format);
- vfprintf(intff_debug_stream, format, args);
- va_end(args);
-
- return FF_RESULT_OK;
-}