Changeset 191 in Main for trunk/Common


Ignore:
Timestamp:
Sep 29, 2024, 2:11:20 PM (7 weeks ago)
Author:
Nishi
Message:

console works on ps3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/log.c

    r182 r191  
    1616#endif
    1717
     18#ifdef __PPU__
     19extern void tt_printf(const char* tmpl, ...);
     20#endif
     21
    1822FILE* logfile;
    1923
     
    2933#ifdef _PSP
    3034        pspDebugScreenPrintf("[%s] %s\n", date, log);
     35#elif defined(__PPU__)
     36        tt_printf("[%s] %s\n", date, log);
    3137#else
    3238        fprintf(logfile, "[%s] %s\n", date, log);
     
    7985#ifdef _PSP
    8086        pspDebugScreenPrintf("%s %s\n", namebuf, result);
     87#elif defined(__PPU__)
     88        tt_printf("%s %s\n", namebuf, result);
    8189#else
    8290        fprintf(logfile, "%s %s\n", namebuf, result);
Note: See TracChangeset for help on using the changeset viewer.