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:
@@ -43,13 +43,14 @@ std::string ToHex(T* pointer)
|
|||||||
#endif //#ifdef _DEBUG
|
#endif //#ifdef _DEBUG
|
||||||
#endif // Win32, Linux
|
#endif // Win32, Linux
|
||||||
|
|
||||||
#if defined (IOS) && defined (DEBUG)
|
#if defined (DEBUG)
|
||||||
|
#ifndef DebugTrace
|
||||||
#define DebugTrace(inString) \
|
#define DebugTrace(inString) \
|
||||||
{ \
|
{ \
|
||||||
std::cout << inString << std::endl; \
|
std::cout << inString << std::endl; \
|
||||||
}
|
}
|
||||||
#endif // IOS, DEBUG
|
#endif //DEBUG
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef DebugTrace
|
#ifndef DebugTrace
|
||||||
#define DebugTrace(inString) (void (0))
|
#define DebugTrace(inString) (void (0))
|
||||||
|
|||||||
Reference in New Issue
Block a user