Changeset 200 in Main


Ignore:
Timestamp:
Sep 29, 2024, 4:50:59 PM (7 weeks ago)
Author:
Nishi
Message:

will try to fix it later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/main.c

    r197 r200  
    4343#elif defined(__ps2sdk__)
    4444#include <debug.h>
     45#include <iopcontrol.h>
    4546#include <sifrpc.h>
     47#include <kernel.h>
    4648
    4749#define printf(...) scr_printf(__VA_ARGS__)
     
    627629#elif defined(__ps2sdk__)
    628630        SifInitRpc(0);
     631        while(!SifIopReset("", 0))
     632                ;
     633        while(!SifIopSync())
     634                ;
    629635        init_scr();
    630636        scr_printf("PS2 Bootstrap, Tewi/%s\n", tw_get_version());
    631         while(1)
    632                 ;
     637        SleepThread();
    633638#endif
    634639        int st = startup(argc, argv);
Note: See TracChangeset for help on using the changeset viewer.