From 79835dda3398d97348cd3a088b3dc599a1067514 Mon Sep 17 00:00:00 2001 From: "wrenczes@gmail.com" Date: Tue, 19 Apr 2011 04:48:42 +0000 Subject: [PATCH] Slight modification to the DebugTrace calls so that if compiling against debug on psp, the call becomes std::cout. This allows the debug trace calls to mirror out to the console window that's running pspsh. --- JGE/include/DebugRoutines.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/JGE/include/DebugRoutines.h b/JGE/include/DebugRoutines.h index 14189928f..60459d9c5 100644 --- a/JGE/include/DebugRoutines.h +++ b/JGE/include/DebugRoutines.h @@ -43,13 +43,14 @@ std::string ToHex(T* pointer) #endif //#ifdef _DEBUG #endif // Win32, Linux -#if defined (IOS) && defined (DEBUG) +#if defined (DEBUG) +#ifndef DebugTrace #define DebugTrace(inString) \ { \ std::cout << inString << std::endl; \ } -#endif // IOS, DEBUG - +#endif //DEBUG +#endif #ifndef DebugTrace #define DebugTrace(inString) (void (0))