12-30-2014, 05:55 PM
So, I just double checked on my PSP. I have 9079 MB free right now, and it reports:
CHANGE: msFree.clusterSize: 00000000 => 00008000
CHANGE: msFree.freeClusters: 00000000 => 00046efa
CHANGE: msFree.freeSpaceKB: 00000000 => 008ddf40
CHANGE: msFree.freeSpaceStr: => 9079 MB
PPSSPP's only difference is that it reports:
CHANGE: msFree.freeSpaceStr: => 8 GB
Does anything change if you make this modification to GetSpaceText? Find:
std:
tring SavedataParam::GetSpaceText(u64 size)
{
static const char *suffixes[] = {"B", "KB", "MB", "GB"};
char text[50];
for (size_t i = 0; i < ARRAY_SIZE(suffixes); ++i)
{
if (size < 1024)
And replace that last line with:
if (size < 10240)
This seems to more accurately approximate how the PSP formats it. But, it sounds like this won't help. I wonder if it's something to do with the request.
I think the best thing would be, if you have a PSP, using JpcspTrace. It is a CFW plugin for the PSP that records syscalls so we can compare it with emulators. Here's one set up for savedata:
https://github.com/unknownbrackets/Jpcsp...data-sizes
That will show what the PSP is responding with for this specific savedata SIZES request.
-[Unknown]
CHANGE: msFree.clusterSize: 00000000 => 00008000
CHANGE: msFree.freeClusters: 00000000 => 00046efa
CHANGE: msFree.freeSpaceKB: 00000000 => 008ddf40
CHANGE: msFree.freeSpaceStr: => 9079 MB
PPSSPP's only difference is that it reports:
CHANGE: msFree.freeSpaceStr: => 8 GB
Does anything change if you make this modification to GetSpaceText? Find:
std:
tring SavedataParam::GetSpaceText(u64 size){
static const char *suffixes[] = {"B", "KB", "MB", "GB"};
char text[50];
for (size_t i = 0; i < ARRAY_SIZE(suffixes); ++i)
{
if (size < 1024)
And replace that last line with:
if (size < 10240)
This seems to more accurately approximate how the PSP formats it. But, it sounds like this won't help. I wonder if it's something to do with the request.
I think the best thing would be, if you have a PSP, using JpcspTrace. It is a CFW plugin for the PSP that records syscalls so we can compare it with emulators. Here's one set up for savedata:
https://github.com/unknownbrackets/Jpcsp...data-sizes
That will show what the PSP is responding with for this specific savedata SIZES request.
-[Unknown]

