Changeset 182 in Main for trunk/Common
- Timestamp:
- Sep 27, 2024, 9:55:12 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/log.c
r62 r182 12 12 #include <stdarg.h> 13 13 14 #ifdef _PSP 15 #include <pspdebug.h> 16 #endif 17 14 18 FILE* logfile; 15 19 … … 23 27 char date[513]; 24 28 strftime(date, 512, "%a %b %d %H:%M:%S %Z %Y", tm); 29 #ifdef _PSP 30 pspDebugScreenPrintf("[%s] %s\n", date, log); 31 #else 25 32 fprintf(logfile, "[%s] %s\n", date, log); 33 #endif 26 34 fflush(logfile); 27 35 } … … 69 77 } 70 78 79 #ifdef _PSP 80 pspDebugScreenPrintf("%s %s\n", namebuf, result); 81 #else 71 82 fprintf(logfile, "%s %s\n", namebuf, result); 83 #endif 72 84 va_end(args); 73 85
Note:
See TracChangeset
for help on using the changeset viewer.