i have used this code:
[code]
sceIoUnassign("flash0:");
sceIoAssign("flash0:","msstor0p1:/flash0","fatms0:",IOASSIGN_RDWR,NULL,0);
sceIoUnassign("flash1:");
sceIoAssign("flash1:","msstor0p1:/flash0","fatms0:",IOASSIGN_RDWR,NULL,0);
[/code]
but my app assign at flash 0 & 1 the root of memory stick...because...I can solve this problem???
help ;)
Assign Flash To Folder
you need
Code: Select all
sceIoUnassign("flash0:");
sceIoAssign("flash0:","msstor0p1:","fatms0:/flash0",IOASSIGN_RDWR,NULL,0);
sceIoUnassign("flash1:");
sceIoAssign("flash1:","msstor0p1:","fatms0:/flash1",IOASSIGN_RDWR,NULL,0);
-
- Posts: 32
- Joined: Wed Mar 17, 2004 6:59 pm
-
- Posts: 8
- Joined: Wed Oct 26, 2005 10:08 pm
- Location: Shiga, Japan
- Contact:
Second argument of sceIoAssign must be BLOCK DEVICE, not folder.
And third argument must be FILE SYSTEM DRIVER. This is also not folder.
sceIoAssign function only makes connection between block device and file system.
SO, You need to write ORIGINAL DRIVER like MPH Firmware Launcher.
the source of mph firmware launcher can be found:
http://mphwebsite.tuxfamily.org/index.php?program=15
And third argument must be FILE SYSTEM DRIVER. This is also not folder.
sceIoAssign function only makes connection between block device and file system.
SO, You need to write ORIGINAL DRIVER like MPH Firmware Launcher.
the source of mph firmware launcher can be found:
http://mphwebsite.tuxfamily.org/index.php?program=15