Skip to content

Commit 0605e18

Browse files
committed
incomplete retail hw dongle dumper
1 parent 3269754 commit 0605e18

File tree

5 files changed

+372
-72
lines changed

5 files changed

+372
-72
lines changed

Makefile

+8-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
EE_BIN = DONGLE_DUMPER.ELF
1010

11-
EE_OBJS = main.o modelname.o ioprp.o \
12-
usbd.o bdm.o bdmfs_fatfs.o usbmass_bd.o genvmc.o fileXio.o iomanX.o
11+
EE_OBJS = main.o modelname.o pad.o ioprp.o \
12+
usbd.o bdm.o bdmfs_fatfs.o usbmass_bd.o genvmc.o fileXio.o iomanX.o mcman.o padman.o sio2man.o mcserv.o
1313

1414
EE_CFLAGS += -fdata-sections -ffunction-sections -DNEWLIB_PORT_AWARE
1515
EE_LDFLAGS += -Wl,--gc-sections
16-
EE_LIBS += -liopreboot -ldebug -lpatches -lfileXio -lcdvd
16+
EE_LIBS += -liopreboot -ldebug -lpatches -lfileXio -lcdvd -lpad -lmc
1717

1818
ifeq ($(DEBUG), 1)
1919
EE_CFLAGS += -DDEBUG -O0 -g
@@ -27,12 +27,14 @@ all: $(EE_BIN)
2727
clean:
2828
rm -rf $(EE_OBJS) $(EE_BIN)
2929

30-
ioprp.img:
31-
wget https://github.com/israpps/wLaunchELF_ISR/raw/system-2x6-support/iop/__precompiled/IOPRP_FILEIO.IMG -O $@
32-
3330
%.c: %.img
3431
bin2c $< $@ ioprp
3532

33+
34+
.INTERMEDIATE: src/ioprp.c $(EE_OBJS)
35+
src/ioprp.c: ioprp.img
36+
bin2c $< $@ ioprp
37+
3638
vpath %.irx iop/
3739
vpath %.irx $(PS2SDK)/iop/irx/
3840
IRXTAG = $(notdir $(addsuffix _irx, $(basename $<)))

ioprp.img

17.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)