diff options
author | truelight <truelight@openttd.org> | 2007-08-04 12:53:41 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-08-04 12:53:41 +0000 |
commit | 424757c078410041cce35a8678b59b7a56c47ccb (patch) | |
tree | 95e47824c2caa1c36c3ad2d37010fe7f16650f26 /src/openttd.cpp | |
parent | cb9d0c69d1fac53c479b678741f82df084b1b5ba (diff) | |
download | openttd-424757c078410041cce35a8678b59b7a56c47ccb.tar.xz |
(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)
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |