PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
elf-loader.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# (c) 2020 Francisco Javier Trujillo Mata <fjtrujy@gmail.com>
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
16#ifndef __ELFLOADER_H__
17#define __ELFLOADER_H__
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23// Before call this method be sure that you have previously called sbv_patch_disable_prefix_check();
24int LoadELFFromFile(const char *filename, int argc, char *argv[]);
25
51int LoadELFFromFileWithPartition(const char *filename, const char *partition, int argc, char *argv[]);
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* __ELFLOADER_H__ */
int LoadELFFromFileWithPartition(const char *filename, const char *partition, int argc, char *argv[])
Definition elf.c:53