EDIT : Résolu après un bon gros trifouillage du makefile
J'ai tenté de creer mon premier prx, tout semble OK dans le code, ça compile mais ne produit rien sur la PSP.
Voici le code :
#include <pspkernel.h> #include <pspctrl.h> #include <pspdisplay.h> #include <psppower.h> #include <pspmodulemgr.h> PSP_MODULE_INFO("Overclocking", 0x800, 1, 1); int main(int argc, char **argv) { int i = 0; int frequence = 3; SceCtrlData pad; while(1) { sceCtrlPeekBufferPositive(&pad, 1); if(pad.Buttons & PSP_CTRL_RTRIGGER) { if(pad.Buttons & PSP_CTRL_TRIANGLE) { if(frequence < 7) { frequence++; } for(i=0; i<10; i++) { sceDisplayWaitVblankStart(); } } if(pad.Buttons & PSP_CTRL_CROSS) { if(frequence > 0) { frequence--; } for(i=0; i<10; i++) { sceDisplayWaitVblankStart(); } } switch(frequence) { case 1: scePowerSetClockFrequency(110, 110, 055); break; case 2: scePowerSetClockFrequency(132, 132, 065); break; case 3: scePowerSetClockFrequency(222, 222, 111); break; case 4: scePowerSetClockFrequency(265, 265, 133); break; case 5: scePowerSetClockFrequency(299, 299, 149); break; case 6: scePowerSetClockFrequency(333, 333, 166); break; default: scePowerSetClockFrequency(222, 222, 111);// Au cas où break; } } sceKernelDelayThread(1000); } return 0; } /* Exported function returns the address of module_info */ void* getModuleInfo(void) { return (void *) &module_info; }