Skip to content

Commit

Permalink
removed MC drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuHAK committed Apr 6, 2022
1 parent d1417d6 commit dacf1d1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ EE_PACKED_BIN = MechaPwn_pck.elf

# C File
EE_OBJS = main.o mecha.o exploit.o pad.o ui.o mass.o
EE_OBJS += iomanX.o fileXio.o freesio2.o freepad.o mcman.o mcsrv.o USBD.o USBHDFSD.o IndieFlower.o
# EE_OBJS += iomanX.o fileXio.o freesio2.o freepad.o mcman.o mcsrv.o USBD.o USBHDFSD.o IndieFlower.o
EE_OBJS += iomanX.o fileXio.o freesio2.o freepad.o USBD.o USBHDFSD.o IndieFlower.o
EE_OBJS += MECHAPROXY_irx.o MASSWATCHER_irx.o pwr50k.o pwr70k.o pwr90k.o frame_001.o frame_002.o frame_003.o frame_004.o frame_005.o frame_006.o frame_007.o frame_008.o frame_009.o frame_010.o frame_011.o frame_012.o frame_013.o frame_014.o frame_015.o frame_016.o frame_017.o frame_018.o frame_019.o frame_020.o frame_021.o frame_022.o frame_023.o frame_024.o frame_025.o frame_026.o frame_027.o frame_028.o frame_029.o frame_030.o frame_031.o frame_032.o frame_033.o frame_034.o frame_035.o frame_036.o frame_037.o frame_038.o frame_039.o frame_040.o frame_041.o frame_042.o frame_043.o frame_044.o frame_045.o frame_046.o frame_047.o frame_048.o frame_049.o frame_050.o frame_051.o frame_052.o frame_053.o frame_054.o frame_055.o frame_056.o frame_057.o frame_058.o frame_059.o frame_060.o frame_061.o frame_062.o

EE_INCS = -I$(PS2SDK)/ports/include -I$(PS2SDK)/sbv/include -I$(PS2SDK)/common/include -I./irx/source/mechaproxy/include/ -I./irx/source/masswatcher/include/ -I$(PS2SDK)/ports/include/freetype2 -I$(GSKIT)/include
Expand All @@ -31,10 +32,10 @@ freesio2.s:
$(BIN2S) $(PS2SDK)/iop/irx/freesio2.irx freesio2.s freesio2
freepad.s:
$(BIN2S) $(PS2SDK)/iop/irx/freepad.irx freepad.s freepad
mcman.s:
$(BIN2S) $(PS2SDK)/iop/irx/mcman.irx mcman.s mcman
mcsrv.s:
$(BIN2S) $(PS2SDK)/iop/irx/mcserv.irx mcsrv.s mcserv
# mcman.s:
# $(BIN2S) $(PS2SDK)/iop/irx/mcman.irx mcman.s mcman
# mcsrv.s:
# $(BIN2S) $(PS2SDK)/iop/irx/mcserv.irx mcsrv.s mcserv
USBD.s: $(PS2SDK)/iop/irx/usbd.irx
$(BIN2S) $(PS2SDK)/iop/irx/usbd.irx USBD.s USBD
USBHDFSD.s: $(PS2SDK)/iop/irx/usbhdfsd.irx
Expand Down
8 changes: 4 additions & 4 deletions binaries.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ extern u32 size_freesio2;
extern uint8_t freepad;
extern u32 size_freepad;

extern uint8_t mcman;
extern u32 size_mcman;
// extern uint8_t mcman;
// extern u32 size_mcman;

extern uint8_t mcserv;
extern u32 size_mcserv;
// extern uint8_t mcserv;
// extern u32 size_mcserv;

extern uint8_t USBD;
extern u32 size_USBD;
Expand Down
9 changes: 4 additions & 5 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include <tamtypes.h>
#include <libpad.h>
#include <libmc.h>
// #include <libmc.h>
#include <kernel.h>
#include <sifrpc.h>
#include <loadfile.h>
Expand Down Expand Up @@ -825,8 +825,8 @@ int main()
SifExecModuleBuffer(&fileXio, size_fileXio, 0, NULL, NULL);
SifExecModuleBuffer(&freesio2, size_freesio2, 0, NULL, NULL);
SifExecModuleBuffer(&freepad, size_freepad, 0, NULL, NULL);
SifExecModuleBuffer(&mcman, size_mcman, 0, NULL, NULL);
SifExecModuleBuffer(&mcserv, size_mcserv, 0, NULL, NULL);
// SifExecModuleBuffer(&mcman, size_mcman, 0, NULL, NULL);
// SifExecModuleBuffer(&mcserv, size_mcserv, 0, NULL, NULL);
SifExecModuleBuffer(&USBD, size_USBD, 0, NULL, NULL);
SifExecModuleBuffer(&USBHDFSD, size_USBHDFSD, 0, NULL, NULL);
SifExecModuleBuffer(&MECHAPROXY_irx, size_MECHAPROXY_irx, 0, NULL, NULL);
Expand All @@ -835,8 +835,7 @@ int main()
MechaInit();
MassInit();

// TODO: do we need this?
mcInit(MC_TYPE_XMC);
// mcInit(MC_TYPE_XMC);

PadInitPads();

Expand Down

0 comments on commit dacf1d1

Please sign in to comment.