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.

This commit is contained in:
wrenczes@gmail.com
2011-04-19 04:48:42 +00:00
parent 7e884b53f9
commit 79835dda33

View File

@@ -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))