PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
patch_disable_prefix_check.c File Reference
#include <tamtypes.h>
#include <kernel.h>
#include <string.h>
#include "slib.h"
+ Include dependency graph for patch_disable_prefix_check.c:

Go to the source code of this file.

Functions

int sbv_patch_disable_prefix_check (void)
 

Variables

slib_exp_lib_list_t _slib_cur_exp_lib_list
 

Detailed Description

Disable the MODLOAD check for .elf's or .irx's on certain devices.

Definition in file patch_disable_prefix_check.c.

Function Documentation

◆ sbv_patch_disable_prefix_check()

int sbv_patch_disable_prefix_check ( void  )
Returns
0: success, none-zero: error

The MODLOAD module has a black/white (depends on version) list that determines what devices can have unprotected EE/IOP executables loaded from. Typically, only protected executables can be loaded from user-writable media like the memory card or HDD unit. This patch will disable the black/white list, allowing executables to be freely loaded from any device.

Definition at line 24 of file patch_disable_prefix_check.c.

References slib_get_exp_lib().

Variable Documentation

◆ _slib_cur_exp_lib_list

slib_exp_lib_list_t _slib_cur_exp_lib_list
extern

Definition at line 26 of file slib.c.