Yoshihiro

Joined: 14 May 2005 Posts: 12
|
Posted: Wed Jun 15, 2005 11:17 pm Post subject: Api for rename or Mount your drive :) |
|
|
hi i've just found an api for mount or change the name of your drive .
| Code: |
STUB_START "IoFileMgrForUser",0x40010000,0x000D0005
STUB_FUNC 0xb2a628c1 sceIoAssign
STUB_END
|
| Code: |
int sceIoAssign(const char *name , const char *name2 ,const char *name3 ,int mode , int NULL_P , int unknown );
|
| Code: |
#define MS0_DEF_FOR_USE "NEWms0:"
#define FATMS_DEF "fatms0:"
#define DEVELOPER_DEF "msstor0p1:/"
#define O_RDWR 0x0003
// used like that :)
sceIoAssign(MS0_DEF_FOR_USE, DEVELOPER_DEF, FATMS_DEF, O_RDWR, NULL, 0);
|
Now you can use NEWms0: in drive or umdX if you whant :) .
Yoshihiro _________________
.jpg) |
|