Enabling uio debugging.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1040 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2003-07-09 04:23:01 +00:00
parent c3d90f78f2
commit b8d6ce9d14
2 changed files with 5 additions and 3 deletions
@@ -29,6 +29,8 @@
#include "libs/graphics/drawcmd.h"
#include "libs/input/sdl/vcontrol.h"
#include "bbox.h"
#include "port.h"
#include "libs/uio.h"
SDL_Surface *SDL_Video;
SDL_Surface *SDL_Screen;
@@ -135,7 +137,7 @@ TFB_ProcessEvents ()
if (ImmediateInputState.debug)
{
FlushInput ();
fprintf (stderr, "This would enter debug mode if we had one yet, but we don't.\n");
uio_debugInteractive(stdin, stdout, stderr);
}
}
+2 -2
View File
@@ -7,9 +7,9 @@ if [ -n "$uqm_USE_ZIP_IO" ]; then
uqm_SUBDIRS="$uqm_SUBDIRS zip"
fi
if [ -n "$DEBUG" -o -n "$uqm_UIO_DEBUG" ]; then
#if [ -n "$DEBUG" -o -n "$uqm_UIO_DEBUG" ]; then
uqm_CFILES="$uqm_CFILES debug.c"
fi
#fi
if [ -n "$MEMDEBUG" ]; then
uqm_CFILES="$uqm_CFILES memdebug.c"