forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can someone please verify this?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
keedier



Joined: 07 Feb 2007
Posts: 4

PostPosted: Sun Apr 29, 2007 5:06 pm    Post subject: Can someone please verify this? Reply with quote

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");

}
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group