open files in UPDATE mode

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

Moderators: cheriff, TyRaNiD

Post Reply
phobox
Posts: 127
Joined: Mon Mar 24, 2008 6:22 pm

open files in UPDATE mode

Post by phobox »

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
Post Reply