[Scummvm-git-logs] scummvm master -> fbef545e22a8d0f88e4fc892e56583d72ab6a7f0

grisenti noreply at scummvm.org
Thu Sep 7 12:12:59 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
fbef545e22 HPL1: Replace printf


Commit: fbef545e22a8d0f88e4fc892e56583d72ab6a7f0
    https://github.com/scummvm/scummvm/commit/fbef545e22a8d0f88e4fc892e56583d72ab6a7f0
Author: grisenti (emanuele at grisenti.net)
Date: 2023-09-07T12:12:31+02:00

Commit Message:
HPL1: Replace printf

Changed paths:
    engines/hpl1/engine/libraries/newton/core/dgDebug.cpp


diff --git a/engines/hpl1/engine/libraries/newton/core/dgDebug.cpp b/engines/hpl1/engine/libraries/newton/core/dgDebug.cpp
index ccace8ad7b3..c471e77ac6e 100644
--- a/engines/hpl1/engine/libraries/newton/core/dgDebug.cpp
+++ b/engines/hpl1/engine/libraries/newton/core/dgDebug.cpp
@@ -21,6 +21,7 @@
 
 #include "dgStdafx.h"
 #include "dgDebug.h"
+#include "hpl1/debug.h"
 
 #ifdef _DEBUG
 
@@ -32,7 +33,7 @@ void dgApi dgExpandTraceMessage(const char *fmt, ...) {
 	va_start(v_args, fmt);
 	vsnprintf(text, 4096, fmt, v_args);
 	va_end(v_args);
-	printf("%s\n", text);
+	debug("%s\n", text);
 
 }
 #endif




More information about the Scummvm-git-logs mailing list