[Scummvm-cvs-logs] CVS: scummvm/common engine.cpp,1.21,1.22
Nicolas Bacca
arisme at users.sourceforge.net
Sun Jul 13 05:25:23 CEST 2003
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv17044
Modified Files:
engine.cpp
Log Message:
Update WINDBG to WinCE
Index: engine.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/engine.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- engine.cpp 3 Jul 2003 11:18:07 -0000 1.21
+++ engine.cpp 13 Jul 2003 12:24:36 -0000 1.22
@@ -131,8 +131,14 @@
#endif
#if defined( USE_WINDBG )
+#if defined( _WIN32_WCE )
+ TCHAR buf_output_unicode[1024];
+ MultiByteToWideChar(CP_ACP, 0, buf_output, strlen(buf_output) + 1, buf_output_unicode, sizeof(buf_output_unicode));
+ OutputDebugString(buf_output_unicode);
+#else
OutputDebugString(buf_output);
#endif
+#endif
#if defined ( _WIN32_WCE )
drawError(buf_output);
@@ -168,8 +174,14 @@
#endif
#if defined( USE_WINDBG )
strcat(buf, "\n");
+#if defined( _WIN32_WCE )
+ TCHAR buf_unicode[1024];
+ MultiByteToWideChar(CP_ACP, 0, buf, strlen(buf) + 1, buf_unicode, sizeof(buf_unicode));
+ OutputDebugString(buf_unicode);
+#else
OutputDebugString(buf);
#endif
+#endif
}
uint16 _debugLevel = 1;
@@ -192,7 +204,13 @@
#if defined( USE_WINDBG )
strcat(buf, "\n");
+#if defined( _WIN32_WCE )
+ TCHAR buf_unicode[1024];
+ MultiByteToWideChar(CP_ACP, 0, buf, strlen(buf) + 1, buf_unicode, sizeof(buf_unicode));
+ OutputDebugString(buf_unicode);
+#else
OutputDebugString(buf);
+#endif
#endif
fflush(stdout);
More information about the Scummvm-git-logs
mailing list