diff --git a/embed.make b/embed.make index dccbe305..d9f49bf6 100644 --- a/embed.make +++ b/embed.make @@ -105,7 +105,7 @@ $(EE_ASM_DIR)ps2ip_irx.s: $(PS2SDK)/iop/irx/ps2ip.irx | $(EE_ASM_DIR) $(EE_ASM_DIR)udptty.s: $(PS2SDK)/iop/irx/udptty.irx | $(EE_ASM_DIR) $(BIN2S) $< $@ udptty_irx -$(EE_ASM_DIR)ps2smap_irx.s: $(PS2DEV)/ps2eth/smap/ps2smap.irx | $(EE_ASM_DIR) +$(EE_ASM_DIR)ps2smap_irx.s: iop/__precompiled/ps2smap.irx | $(EE_ASM_DIR) $(BIN2S) $< $@ ps2smap_irx $(EE_ASM_DIR)ps2ftpd_irx.s: iop/ps2ftpd.irx | $(EE_ASM_DIR) diff --git a/iop/__precompiled/ps2smap.irx b/iop/__precompiled/ps2smap.irx new file mode 100644 index 00000000..f032cbf2 Binary files /dev/null and b/iop/__precompiled/ps2smap.irx differ diff --git a/src/config.c b/src/config.c index e1d87204..1fd80b65 100644 --- a/src/config.c +++ b/src/config.c @@ -10,11 +10,7 @@ enum { #ifdef CUSTOM_COLORS DEF_COLOR1 = GS_SETREG_RGBA(0, 0, 0, 0), //Backgr DEF_COLOR2 = GS_SETREG_RGBA(160, 160, 160, 0), //Frame -#ifdef DVRP - DEF_COLOR3 = GS_SETREG_RGBA(0x7a, 0, 0xbe, 0), -#else DEF_COLOR3 = GS_SETREG_RGBA(0, 204, 255, 0), //Select -#endif DEF_COLOR4 = GS_SETREG_RGBA(255, 255, 255, 0), //Text DEF_COLOR5 = GS_SETREG_RGBA(255, 255, 0, 0), //Graph1 DEF_COLOR6 = GS_SETREG_RGBA(0, 255, 0, 0), //Graph2 diff --git a/src/main.c b/src/main.c index 90259c32..5ff4db7c 100644 --- a/src/main.c +++ b/src/main.c @@ -1545,6 +1545,25 @@ void loadFlashModules(void) //--------------------------------------------------------------------------- #endif #ifdef DVRP +int sceCdNoticeGameStart(u8 arg1, u32 *result) +{ + int res; + u8 out[16]; + u8 in[16]; + + if (result) { + *result = 0; + } + { + in[0] = arg1; + res = sceCdApplySCmd(0x29u, in, 1, out, sizeof(out)); + if (result) { + *result = (u8)out[0]; + } + } + return res; +} + void loadDVRPHddModules(void) { if (!have_DVRP_HDD_modules) { @@ -1552,7 +1571,7 @@ void loadDVRPHddModules(void) drawMsg(LNG(Loading_HDD_Modules)); setupPowerOff(); load_ps2dvr(); - //sceCdNoticeGameStart(0, NULL); //shouldn't this be done by the bootloader? + sceCdNoticeGameStart(0, NULL); //shouldn't this be done by the bootloader? have_DVRP_HDD_modules = TRUE; } }