Go to the source code of this file.
Functions | |
int | PSX_RunExe (void *exeBuffer) |
Replaces running executable code with code from another executable stored in a memory buffer and starts executing at the starting point for the new code. | |
int PSX_RunExe | ( | void * | exeBuffer | ) |
Replaces running executable code with code from another executable stored in a memory buffer and starts executing at the starting point for the new code.
The executable must be in PSX-EXE format (such as generated by elf2exe). Moreover, PSX_InitEx() must have been initialized by specifying the PSX_INIT_SAVESTATE flag.
exeBuffer | Pointer to memory buffer where executable is stored |