diff options
| author | Joost Peters | 2009-09-23 16:11:23 +0000 |
|---|---|---|
| committer | Joost Peters | 2009-09-23 16:11:23 +0000 |
| commit | 6a5bd81599fbafe8edc92add8316eba74504e49d (patch) | |
| tree | 57de3e785bdbe0dfa83ab38131f546a3a2f2a89d /backends/platform/psp/trace.cpp | |
| parent | 227e4e65df7093b2be9b45106b529761a13068dd (diff) | |
| download | scummvm-rg350-6a5bd81599fbafe8edc92add8316eba74504e49d.tar.gz scummvm-rg350-6a5bd81599fbafe8edc92add8316eba74504e49d.tar.bz2 scummvm-rg350-6a5bd81599fbafe8edc92add8316eba74504e49d.zip | |
PSP: improved suspend/resume support [patch from bluddy]
svn-id: r44276
Diffstat (limited to 'backends/platform/psp/trace.cpp')
| -rw-r--r-- | backends/platform/psp/trace.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/backends/platform/psp/trace.cpp b/backends/platform/psp/trace.cpp index 00d19b582c..752c0b8306 100644 --- a/backends/platform/psp/trace.cpp +++ b/backends/platform/psp/trace.cpp @@ -27,10 +27,8 @@ #include "./trace.h" -//#define __DEBUG__ - void PSPDebugTrace (const char *format, ...) { -#ifdef __DEBUG__ +#ifdef __PSP_DEBUG__ va_list opt; char buff[2048]; int bufsz, fd; @@ -46,11 +44,11 @@ void PSPDebugTrace (const char *format, ...) { sceIoWrite(fd, (const void*)buff, bufsz); sceIoClose(fd); -#endif +#endif /* __PSP_DEBUG__ */ } void PSPDebugTrace (const char * filename, const char *format, ...) { -#ifdef __DEBUG__ +#ifdef __PSP_DEBUG__ va_list opt; char buff[2048]; int bufsz, fd; @@ -66,5 +64,5 @@ void PSPDebugTrace (const char * filename, const char *format, ...) { sceIoWrite(fd, (const void*)buff, bufsz); sceIoClose(fd); -#endif +#endif /* __PSP_DEBUG__ */ } |
