PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
iopcontrol.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int SifIopReboot (const char *arg)
 
int SifIopReset (const char *arg, int mode)
 
int SifIopIsAlive (void)
 
int SifIopSync (void)
 

Detailed Description

IOP reset and status routines.

Definition in file iopcontrol.h.

Function Documentation

◆ SifIopReboot()

int SifIopReboot ( const char *  arg)

Resets IOP This is a high level wrapper for SifIopReset

Parameters
arga const character pointer for path to module that will be loaded afterwards or an empty string. NULL must not be specified.
Returns
1 for success or 0 for failure.

◆ SifIopReset()

int SifIopReset ( const char *  arg,
int  mode 
)

Resets IOP

Parameters
arga const character pointer for path to module that will be loaded afterwards or a blank. NULL is not officially supported, but is supported for backward-compatibility with old homebrew projects.
modeBitmask for optional settings. 0x80000000 for verbose messages and 0x100 for magicgate.
Returns
1 for success or 0 for failure.

◆ SifIopIsAlive()

int SifIopIsAlive ( void  )
Returns
1 for SIF initialized or 0 for not initialized.

◆ SifIopSync()

int SifIopSync ( void  )
Returns
1 for bootup complete or 0 for incomplete.