Changeset 189 in Main for trunk/Server/main.c
- Timestamp:
- Sep 29, 2024, 9:37:00 AM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/main.c
r187 r189 5 5 #include "../config.h" 6 6 7 #include <unistd.h> 7 8 #include <stdio.h> 8 9 #include <stdbool.h> … … 40 41 #define printf(...) pspDebugScreenPrintf(__VA_ARGS__) 41 42 #define STDERR_LOG(...) pspDebugScreenPrintf(__VA_ARGS__) 43 #elif defined(__ps2sdk__) 44 #include <debug.h> 45 #include <sifrpc.h> 46 47 #define printf(...) scr_printf(__VA_ARGS__) 48 #define STDERR_LOG(...) scr_printf(__VA_ARGS__) 42 49 #else 43 50 #define STDERR_LOG(...) fprintf(stderr, __VA_ARGS__) … … 244 251 printf("PS3 Bootstrap, Tewi/%s\n", tw_get_version()); 245 252 netInitialize(); 253 #elif defined(__ps2sdk__) 254 SifInitRpc(0); 255 init_scr(); 256 scr_printf("PS2 Bootstrap, Tewi/%s\n", tw_get_version()); 257 while(1) 258 ; 246 259 #endif 247 260 int st = startup(argc, argv);
Note:
See TracChangeset
for help on using the changeset viewer.