wavelength 1.0.0
Loading...
Searching...
No Matches
irx.h File Reference
#include "script/dataarray.h"
Include dependency graph for irx.h:

Go to the source code of this file.

Functions

int IrxLoadModule (const DataArray *pModule)
 Load the IOP module a configuration array describes.
void IrxLoadAll (const DataArray *pModules)
 Load the IOP module of every child array after node 0.
int IrxLoadMatching (const DataArray *pModules, const char *pszName)
 Load the IOP module of the first child array whose file includes a string.

Function Documentation

◆ IrxLoadModule()

int IrxLoadModule ( const DataArray * pModule)

Load the IOP module a configuration array describes.

Node 0 is the module's file, with each % replaced by FileSourceLetter(). The other nodes are the module's arguments, each a symbol or a (concat ...) or (file ...) directive. The module is read from the device FormatDevicePath() selects, from the disc unless host_config is set.

Parameters
pModuleThe array.
Returns
The sceSifLoadModule() result.
Ghidra address:
NTSC-U/C: 0x0028a298
Ghidra address:
PAL: 0x00293a90

◆ IrxLoadAll()

void IrxLoadAll ( const DataArray * pModules)

Load the IOP module of every child array after node 0.

Parameters
pModulesThe array of module arrays.
Ghidra address:
NTSC-U/C: 0x0028a190
Ghidra address:
PAL: 0x00293988

◆ IrxLoadMatching()

int IrxLoadMatching ( const DataArray * pModules,
const char * pszName )

Load the IOP module of the first child array whose file includes a string.

Parameters
pModulesThe array of module arrays.
pszNameThe string.
Returns
The IrxLoadModule() result, or -1 when no file includes the string.
Ghidra address:
NTSC-U/C: 0x0028a1f8
Ghidra address:
PAL: 0x002939f0