diff --git a/.ccls b/.ccls index 195d346..5ceab2d 100644 --- a/.ccls +++ b/.ccls @@ -4,7 +4,6 @@ gcc -I/usr/local/pspdev/psp/include -I/usr/local/pspdev/psp/sdk/include -I. --I./librsync/src -std=c99 -Os -G0 diff --git a/Makefile b/Makefile index 836fb82..c7d8b47 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,3 @@ - -LIBRSYNC := librsync -CMAKE := psp-cmake - TARGET = umd_livepatch C_OBJS = io_funcs.o main.o OBJS = $(C_OBJS) imports.o @@ -14,7 +10,7 @@ CFLAGS += -DDEBUG=$(DEBUG) endif LDFLAGS = -nostartfiles -L . -LIBS = -lpspsystemctrl_kernel -lrsync +LIBS = -lpspsystemctrl_kernel PSP_FW_VERSION = 660 @@ -31,15 +27,6 @@ libpspsystemctrl_kernel.a: $(MAKE) -C $(ARKROOT)/libs/SystemCtrlForKernel cp $(ARKROOT)/libs/SystemCtrlForKernel/libpspsystemctrl_kernel.a . -librsync: - git clone https://github.com/librsync/librsync - -librsync.a: $(LIBRSYNC) - mkdir rsync_build - cd rsync_build; $(CMAKE) $(shell realpath $(LIBRSYNC)); make - mv rsync_build/librsync.a . - rm -rf rsync_build - $(TARGET).prx:: libpspsystemctrl_kernel.a include $(PSPSDK)/lib/build.mak diff --git a/rpatch.c b/rpatch.c index 7d21dbd..523c19b 100644 --- a/rpatch.c +++ b/rpatch.c @@ -1,8 +1,6 @@ #include "io_funcs.h" #include "rpatch.h" -#include - int lp_PatchSet_open(const char *path) {