File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ PPC_UART ?= 0
1717SIO_DEBUG ?= 0
1818DEBUG ?= 0
1919LCDVD ?= LEGACY# or LATEST
20+ USBD ?= LEGACY# or LATEST
2021# ----------------------------- #
2122.SILENT:
2223
@@ -155,6 +156,7 @@ ifeq ($(EXFAT),1)
155156 EE_OBJS += bdm_irx.o bdmfs_fatfs_irx.o usbmass_bd_irx.o
156157 EE_CFLAGS += -DEXFAT
157158 HAS_EXFAT = -EXFAT
159+ USBD = LATEST
158160else
159161 EE_OBJS += usbhdfsd_irx.o
160162endif
Original file line number Diff line number Diff line change @@ -9,8 +9,11 @@ else # if we have mx4sio use newer IRX to avoid deadlocks when opening common me
99 MCSERV_SOURCE = iop/__precompiled/mcserv.irx
1010 SIO2MAN_SOURCE = iop/__precompiled/sio2man.irx
1111endif
12-
13-
12+ ifeq ($(USBD ) ,LEGACY)
13+ USBD_SOURCE = $(PS2SDK ) /iop/irx/usbd.irx
14+ else ifeq ($(USBD),LATEST)
15+ USBD_SOURCE = iop/__precompiled/usbd.irx
16+ endif
1417
1518# ---{ MC }---#
1619$(EE_ASM_DIR ) mcman_irx.s : $(MCMAN_SOURCE ) | $(EE_ASM_DIR )
@@ -29,7 +32,7 @@ $(EE_ASM_DIR)mmceman_irx.s: iop/__precompiled/mmceman.irx | $(EE_ASM_DIR)
2932 $(BIN2S ) $< $@ mmceman_irx
3033# ---{ USB }---#
3134
32- $(EE_ASM_DIR ) usbd_irx.s : $(PS2SDK ) /iop/irx/usbd.irx | $(EE_ASM_DIR )
35+ $(EE_ASM_DIR ) usbd_irx.s : $(USBD_SOURCE ) | $(EE_ASM_DIR )
3336 $(BIN2S ) $< $@ usbd_irx
3437
3538ifeq ($(EXFAT ) ,1)
You can’t perform that action at this time.
0 commit comments