Has someone figured out how the PSP returns the amount of free space on the memory stick? I searched in the documentation, these forums and googled and haven't found anything.
I need a function or way to calculate it for an app.
Thanks.
David Beyer
free memory stick space
-
- Posts: 8
- Joined: Wed Oct 26, 2005 10:08 pm
- Location: Shiga, Japan
- Contact:
This is a code posted on 2ch.
Then buf[1]*buf[3]*buf[4] should be free space on MemoryStick.
# buf[0]*buf[3]*buf[4] is total space.
source: here
Code: Select all
unsigned int buf[5];
unsigned int *pbuf = buf;
sceIoDevctl("ms0:", 0x02425818, &pbuf, sizeof(pbuf), 0, 0);
# buf[0]*buf[3]*buf[4] is total space.
source: here
-
- Posts: 81
- Joined: Mon Dec 19, 2005 4:09 pm
Thanks. I will give this a shot.lS[UMD/2kdlSU] wrote:This is a code posted on 2ch.
Then buf[1]*buf[3]*buf[4] should be free space on MemoryStick.Code: Select all
unsigned int buf[5]; unsigned int *pbuf = buf; sceIoDevctl("ms0:", 0x02425818, &pbuf, sizeof(pbuf), 0, 0);
# buf[0]*buf[3]*buf[4] is total space.
source: here
David Beyer