16.08.2010, 21:33
Guten Abend,
ich wollte mal fragen, ob jemand von euch mir ein Plugin kompilieren kann?
Der Code ist schon fertig made by HacKmaN. Jedoch habe ich keine Ahnung wie ich daraus eine .prx mache.
ich wollte mal fragen, ob jemand von euch mir ein Plugin kompilieren kann?
Der Code ist schon fertig made by HacKmaN. Jedoch habe ich keine Ahnung wie ich daraus eine .prx mache.
Code:
#include <pspkernel.h>
#include <pspctrl.h>
int (* vshCtrlReadBufferPositive_real) (SceCtrlData *pad, int count) = NULL;
int vshCtrlReadBufferPositive_patch(SceCtrlData *pad, int count)
{
int ret = vshCtrlReadBufferPositive_real(pad, count);
if((pad->Buttons & PSP_CTRL_SQUARE) && (pad->Buttons & PSP_CTRL_RTRIGGER))
pad->Buttons |= PSP_CTRL_HOLD;
return ret;
};
int module_start(int args, void *argp)
{
u32*addr = (void *)sctrlHENFindFunction("sceVshBridge_Driver", "sceVshBridge", 0xC6395C03);
vshCtrlReadBufferPositive_real = (u32 *)addr;
sctrlHENPatchSyscall(addr, vshCtrlReadBufferPositive_patch);
return 0;
};
Könnte mir jemand helfen die .prx Datei zu erstellen und Sie mir zu schicken?
Gruß