summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/win32.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/loader/win32.c b/loader/win32.c
index f65e6aed7f..871cd63268 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -180,6 +180,18 @@ static inline void dbgprintf(char* fmt, ...)
va_end(va);
}
#endif
+#ifdef USE_WIN32DLL
+ #include "../mp_msg.h"
+ {
+ char buf[1024];
+ va_list va;
+
+ va_start(va, fmt);
+ vsnprintf((char *)&buf[0], 1023, fmt, va);
+ mp_dbg(MSGT_WIN32, MSGL_DBG3, (char *)&buf[0]);
+ va_end(va);
+ }
+#endif
}