Can someone please verify this?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
keedier
Posts: 4
Joined: Wed Feb 07, 2007 12:59 am

Can someone please verify this?

Post by keedier »

hi there.. im really new at psp programming and i want to have a PRX that can disable and enable homebrew in the psp..

much basically, if i press Ltrigger while clicking the app (im planning to flash it in LFTV icon) renaming the ms0:/psp/GAME folder to ms0:/psp/GAMEHIDE
, and rename a dummy folder (ms0/psp/DUMMY to ms0:/PSP/game) so that i wont lose my iso.. and when i press Rtrigger, it will rename again the GAMEHIDE to GAME folder...

here is my code, for renaming.. not much and no button menu

#include <pspkernel.h>
#include <stdio.h>
#include <pspiofilemgr.h>

PSP_MODULE_INFO("Homebrew Hider", 0, 1, 1);

int main()
{

sceIoRename("ms0:/psp/GAME", "ms0:/PSP/GAMEHIDE");
sceIoRename("ms0:/psp/DUMMY", "ms0:/PSP/GAME");

}
Post Reply