| View previous topic :: View next topic |
| Author |
Message |
Mirko-psp
Joined: 14 Mar 2006 Posts: 6
|
Posted: Tue Mar 14, 2006 5:18 am Post subject: Assign Flash To Folder |
|
|
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 ;) |
|
| Back to top |
|
 |
harleyg

Joined: 05 Oct 2005 Posts: 123
|
Posted: Tue Mar 14, 2006 6:05 am Post subject: |
|
|
you need
| Code: |
sceIoUnassign("flash0:");
sceIoAssign("flash0:","msstor0p1:","fatms0:/flash0",IOASSIGN_RDWR,NULL,0);
sceIoUnassign("flash1:");
sceIoAssign("flash1:","msstor0p1:","fatms0:/flash1",IOASSIGN_RDWR,NULL,0);
|
|
|
| Back to top |
|
 |
Mirko-psp
Joined: 14 Mar 2006 Posts: 6
|
Posted: Tue Mar 14, 2006 3:39 pm Post subject: |
|
|
| don't work :( |
|
| Back to top |
|
 |
hubevolution
Joined: 17 Mar 2004 Posts: 32
|
Posted: Wed Mar 15, 2006 1:13 am Post subject: |
|
|
| are you using this code on 1.50 or 2.01+ ? |
|
| Back to top |
|
 |
Mirko-psp
Joined: 14 Mar 2006 Posts: 6
|
Posted: Wed Mar 15, 2006 1:23 am Post subject: |
|
|
1.50-...
this code work but assign the flash at the root of memory..
i want assign a folder!!! |
|
| Back to top |
|
 |
lS[UMD/2kdlSU]
Joined: 26 Oct 2005 Posts: 8 Location: Shiga, Japan
|
Posted: Wed Mar 15, 2006 11:21 pm Post subject: |
|
|
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 _________________ lS[UMD/2kdlSU] - now working as 67...
----------------------------------------------
site: jap | eng
jap blog: here |
|
| Back to top |
|
 |
|