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 

open files in UPDATE mode

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



Joined: 24 Mar 2008
Posts: 140

PostPosted: Mon Nov 23, 2009 8:15 pm    Post subject: open files in UPDATE mode Reply with quote

hello!, i wanted to dump the arguments passed to module_start of the updater.

so i created a fake updater (UPDATE folder, 0x0800) and i started it, it worked because i was able to see the debug messages on the screen but if i tried to open the file ms0:/param.bin in this way

fd = sceIoOpen("ms0:/param.bin", PSP_O_CREAT | PSP_O_TRUNC, 0777);

it failed, the error is 80010016

i'm working with a 1.50 fw running from ms (Time machine)
but i get the same error also with 5.50 gen (from flash)

EDIT:
if i open "param.bin", the error is different: 8002032C

EDIT2:
dumped on screen.. nothing interesting btw.. only the path..
_________________
Ciao! from Italy
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