Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAaronLopezGarcia committed Jul 10, 2023
1 parent 33f8c7b commit d0d23e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extras/updater/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CFLAGS = -std=c99 -Os -G0 -Wall
INCDIR = $(ARKROOT)/common/include
LIBDIR = $(ARKROOT)/libs

LIBS = -lpspsystemctrl_user -lkubridge
LIBS = -lpspsystemctrl_user -lpspkubridge

CXXFLAGS = $(CFLAGS)
ASFLAGS = $(CFLAGS)
Expand Down
4 changes: 2 additions & 2 deletions loader/live/kernel/psxloader/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ int exploitEntry(){
patchLoadExec(loadexec, (u32)LoadReboot, (u32)FindFunction("sceThreadManager", "ThreadManForKernel", 0xF6427665), 3);

// patch IO checks
_sw(JR_RA, loadexec->text_addr + 0x0000222C);
_sw(LI_V0(0), loadexec->text_addr + 0x00002230);
//_sw(JR_RA, loadexec->text_addr + 0x0000222C);
//_sw(LI_V0(0), loadexec->text_addr + 0x00002230);

_KernelLoadExecVSHWithApitype = (void *)findFirstJALForFunction("sceLoadExec", "LoadExecForKernel", 0xD8320A28);

Expand Down

0 comments on commit d0d23e7

Please sign in to comment.