From 424757c078410041cce35a8678b59b7a56c47ccb Mon Sep 17 00:00:00 2001 From: truelight Date: Sat, 4 Aug 2007 12:53:41 +0000 Subject: (svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more -Fix: WinCE doesn't support console -Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way) --- src/openttd.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/openttd.cpp') diff --git a/src/openttd.cpp b/src/openttd.cpp index f20003a49..ae415748b 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -452,6 +452,11 @@ int ttd_main(int argc, char *argv[]) } } +#if defined(WINCE) && defined(_DEBUG) + /* Switch on debug lvl 4 for WinCE if Debug release, as you can't give params, and you most likely do want this information */ + SetDebugString("4"); +#endif + DeterminePaths(argv[0]); CheckExternalFiles(); -- cgit v1.2.3-54-g00ecf