diff --git a/docs/debug.md b/docs/debug.md index bce9fba..9b72dd9 100644 --- a/docs/debug.md +++ b/docs/debug.md @@ -42,4 +42,12 @@ PPSSPP自带的调试工具算很强大了。简要介绍一下它的功能。 ### Debug using `PPSSPP` with `Ghidra` ## Makefile Example (From `RetroArch`) -+ After `include` \ No newline at end of file ++ After `include` +```Makefile +debug: + /snap/bin/ppsspp-emu.ppsspp-sdl EBOOT.BIN +``` + +> If you are using Ubuntu and install PPSSPP from snap. +> + Program Location: /snap/bin/ppsspp-emu.ppsspp-sdl +> + `PSP` Folder Location: ~/snap/ppsspp-emu/common/.config/ppsspp diff --git a/docs/libs/load.md b/docs/libs/load.md new file mode 100644 index 0000000..03f3409 --- /dev/null +++ b/docs/libs/load.md @@ -0,0 +1,9 @@ +# Load&Execution Library. +Load&Execute A PRX/BOOT.BIN... from another Executable File + +You can pass some arguments to the main function of the program you are about to execute. + +```C +int sceKernelLoadExec (const char *file, struct SceKernelLoadExecParam *param); +``` +The PSP will reboot and execute the file you have selected. The screen will gone blank for a while. But you seem to have some choice to keep the screen on during the reboot process, according to what the official document says. \ No newline at end of file diff --git a/docs/patch.md b/docs/patch.md index a13f40a..3c4392d 100644 --- a/docs/patch.md +++ b/docs/patch.md @@ -35,7 +35,10 @@ ## Load PRX at Runtime Using CFW There are two ways of dealing with the system calls (used to print messages with system code): Using a PSP plugin, or modifying the ELF/BIN file. -劫持动态链接库?(Module Tutorial) +劫持动态链接库?(Module Tutorial) +改内存 +Metal Gear Solid,改动libfont.prx + 监测运行状态? ## load cheat code using CW Cheat (金手指)