Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAaronLopezGarcia committed Jul 23, 2023
1 parent da07561 commit ca1df5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
2 changes: 1 addition & 1 deletion core/compat/vita/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ USE_KERNEL_LIBS=1

LIBDIR = $(ARKROOT)/libs
LDFLAGS = -nostartfiles
LIBS = -lpspsemaphore -lpspsystemctrl_kernel -lgraphics -lcolordebugger
LIBS = -lpspsystemctrl_kernel

PSP_FW_VERSION = 660

Expand Down
29 changes: 0 additions & 29 deletions core/compat/vita/syspatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,6 @@ int sceAudioOutput2ReleaseFixed(){
return _sceAudioOutput2Release();
}

static void breakPoint(){
_sw(0x44000000, 0xBC800100);
colorDebug(0xFF00);
_sw(0, 0);
}

void ARKVitaOnModuleStart(SceModule2 * mod){

// System fully booted Status
Expand All @@ -149,16 +143,6 @@ void ARKVitaOnModuleStart(SceModule2 * mod){

patchGameInfoGetter(mod);

if (strcmp(mod->modname, "sceThreadMan") == 0){
_sw(JAL(breakPoint), mod->text_addr+0x00017930);
goto flush;
}

if(strcmp(mod->modname, "sceDisplay_Service") == 0) {
DisplaySetFrameBuf = (void*)sctrlHENFindFunction("sceDisplay_Service", "sceDisplay", 0x289D82FE);
goto flush;
}

// Patch sceKernelExitGame Syscalls
if(strcmp(mod->modname, "sceLoadExec") == 0)
{
Expand Down Expand Up @@ -186,7 +170,6 @@ void ARKVitaOnModuleStart(SceModule2 * mod){
// Patch PSP POPS SPU
if (strcmp(mod->modname, "pops") == 0)
{
//breakPoint();
patchPspPopsSpu(mod);
goto flush;
}
Expand Down Expand Up @@ -248,18 +231,6 @@ int StartModuleHandler(int modid, SceSize argsize, void * argp, int * modstatus,

SceModule2* mod = (SceModule2*) sceKernelFindModuleByUID(modid);

/*
if (DisplaySetFrameBuf){
static int screen_init = 0;
if (!screen_init){
initScreen(DisplaySetFrameBuf);
screen_init = 1;
}
cls();
PRTSTR1("mod: %s", mod->modname);
}
*/

struct {
char* name;
char* path;
Expand Down

0 comments on commit ca1df5e

Please sign in to comment.