ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#include <tamtypes.h>
Go to the source code of this file.
Data Structures | |
struct | smod_mod_info_t |
Functions | |
int | smod_get_next_mod (smod_mod_info_t *cur_mod, smod_mod_info_t *next_mod) |
int | smod_get_mod_by_name (const char *name, smod_mod_info_t *info) |
Sub-CPU module interface.
Definition in file smod.h.
int smod_get_mod_by_name | ( | const char * | name, |
smod_mod_info_t * | info | ||
) |
Find and retreive a module by it's module name.
Definition at line 54 of file smod.c.
References __memcmp(), smem_buf::bytes, info, NULL, SifRpcGetOtherData(), smod_get_next_mod(), and SyncDCache().
Referenced by sbv_patch_enable_lmb(), and sbv_patch_fileio().
int smod_get_next_mod | ( | smod_mod_info_t * | cur_mod, |
smod_mod_info_t * | next_mod | ||
) |
Return the next module referenced in the global module list.
Definition at line 30 of file smod.c.
References smem_buf::bytes, smod_mod_info_t::id, smem_buf::mod_info, smod_mod_info_t::next, SifRpcGetOtherData(), and SyncDCache().
Referenced by smod_get_mod_by_name().